PyQt4打包exe文件
使用到工具pyinstaller
pip install pyinstaller
使用指令打包,其中xxx.ico为需要的图标,xxx.py为要打包的py文件
pyinstaller -w --icon xxx.ico --onefile xxx.py
然后在dust文件夹下就能看到打包好的exe文件


文章对您有帮助,开心可以打赏我,金额随意,欢迎来赏!
需要电子方面开发板/传感器/模块等硬件可以到我的淘宝店逛逛
pip install pyinstaller
pyinstaller -w --icon xxx.ico --onefile xxx.py
文章对您有帮助,开心可以打赏我,金额随意,欢迎来赏!
需要电子方面开发板/传感器/模块等硬件可以到我的淘宝店逛逛