python打包exe程序

233 阅读1分钟
pyinstaller -F -i excel.ico FileWindow.py 

-i 设置icon  和 py文件放在同一个盘符

打包后,文件在项目下的dist文件夹中