Building an executable using pyinstaller, with windows default executable icon

六月ゝ 毕业季﹏ 提交于 2020-03-25 13:47:03

问题


I just need to build an executable using pyinstaller, with the default windows .exe icon. Or a way to remove/set default windows icon after compiling.

Thank you.


回答1:


I don't think you can just use windows default .exe icon, but you can set your own.
Use pyinstaller --onefile --icon=myicon.ico yourapp.py for the command, and have myicon.ico in that directory or specify which directory.



来源:https://stackoverflow.com/questions/60290427/building-an-executable-using-pyinstaller-with-windows-default-executable-icon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!