摘要:
一、安装 pip install win32 import win32serviceutil import win32service import win32event import win32timezone class PythonService(win32serviceutil.Service 阅读全文
posted @ 2021-12-02 11:20
zZzZzZzZ~~
阅读(621)
评论(0)
推荐(0)
摘要:
pip install watchdog 安装需要的包 class MyHandler(FileSystemEventHandler): def __init__(self): f = open('config.js') j = json.load(f) for c in j["config"]: 阅读全文
posted @ 2021-12-02 11:14
zZzZzZzZ~~
阅读(351)
评论(0)
推荐(0)
摘要:
使用pyinstaller在Terminal中使用命令 pyinstaller -F (单文件打包、-D打包成debug把所有引用包一起打包)-w(运行不显示cmd命令窗口) file.py 外部调用资源打包进程序的方法: 代码 import win32serviceutil import win3 阅读全文
posted @ 2021-12-02 10:45
zZzZzZzZ~~
阅读(315)
评论(0)
推荐(0)

浙公网安备 33010602011771号