Building an executable using pyinstaller, with windows default executable icon
问题 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