安装库
pip install pyinstaller
运行脚本
//此py文件目录
例如:cd C:\path\to\your\script
//运行
pyinstaller --onefile --windowed yourfile.py
打包成功,建议管理员身份运行使用
安装库
pip install pyinstaller
运行脚本
//此py文件目录
例如:cd C:\path\to\your\script
//运行
pyinstaller --onefile --windowed yourfile.py
打包成功,建议管理员身份运行使用