(cmd命令行) pip install pyinstaller
-h 查看帮助
--clean 清理打包过程中的临时文件
-D, --onedir 默认值,生成dist文件夹
-F, --onefile 在dist文件夹中只生成独立的打包文件
-i <图标文件名.ico> 指定打包程序使用的图标(icon)文件
使用举例dd
https://www.cnblogs.com/Lynn123/p/11769452.html
pyinstaller–icurve.ico –F SevenDigitsDrawV2.py
原文:https://www.cnblogs.com/Lynn123/p/11822120.html