- 生成exe执行程序:pyinstaller
- 程序运行环境:Windows 10系统,Python 3.5
- 如果是只需要GUI,不需要命令行界面弹出,在保存文件的时候应该是.pyw
- 对python文件打包
$pyinstaller -F path\\file.py/pyw # -F表示打包成单个exe文件
$pyinstaller -F -w path\\file.py/pyw # -w表示不调用命令行窗口
$pyinstaller -F path\\file.py/pyw --noconsole # 与-w一个效果references
完成一个计算单词距离的系统(报告 + 源代码 + 执行程序)
references
references
references