随笔分类 - Python
摘要:from ctypes import CDLL, RTLD_GLOBAL from ..anke import currentOS class LoadSo: def __init__(self, soPath, args): if currentOS != 'darwin': for arg in
阅读全文
摘要:def SDF_GetDeviceInfo(self) -> dict: # 获取设备信息 class DEVICEINFO(Structure): _fields_ = [('IssuerName', c_char*40), ('DeviceName', c_char*16), ('DeviceS
阅读全文
摘要:1、打包配置文件 HuiMergeDemo_x64.spec # -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['HuiMergeDemo.py', 'D:\\HuiMerge\\__init__.py'
阅读全文
摘要:1、安装setuptools、wheel 2、创建README.md 3、创建setup.py from setuptools import setup, find_packages setup( name = "silver_needle", version = "0.1.0", # keywor
阅读全文