PyQt4打包exe文件

使用到工具pyinstaller

pip install pyinstaller

使用指令打包,其中xxx.ico为需要的图标,xxx.py为要打包的py文件

pyinstaller -w --icon xxx.ico --onefile xxx.py

然后在dust文件夹下就能看到打包好的exe文件

posted on 2017-10-03 22:39  神秘藏宝室  阅读(684)  评论(0编辑  收藏  举报

 >>>转载请注明出处<<<