随笔分类 -  Python

摘要:from ctypes import CDLL, RTLD_GLOBAL from ..anke import currentOS class LoadSo: def __init__(self, soPath, args): if currentOS != 'darwin': for arg in 阅读全文
posted @ 2023-08-29 13:41 梧桐潇雨 阅读(259) 评论(0) 推荐(0) 编辑
摘要:def SDF_GetDeviceInfo(self) -> dict: # 获取设备信息 class DEVICEINFO(Structure): _fields_ = [('IssuerName', c_char*40), ('DeviceName', c_char*16), ('DeviceS 阅读全文
posted @ 2023-08-29 13:31 梧桐潇雨 阅读(36) 评论(0) 推荐(0) 编辑
摘要:1、打包配置文件 HuiMergeDemo_x64.spec # -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['HuiMergeDemo.py', 'D:\\HuiMerge\\__init__.py' 阅读全文
posted @ 2023-08-29 11:21 梧桐潇雨 阅读(11) 评论(0) 推荐(0) 编辑
摘要:1、安装setuptools、wheel 2、创建README.md 3、创建setup.py from setuptools import setup, find_packages setup( name = "silver_needle", version = "0.1.0", # keywor 阅读全文
posted @ 2022-03-01 11:57 梧桐潇雨 阅读(564) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示