编译后更改图标(Python)

时间:2015-12-28 11:02:18

标签: python icons pyinstaller

我使用Python 2.7和pyinstaller来制作exe。

一切正常,但exe文件的图标是PyInstaller图标。

有没有办法更改图标?

我发现了这个:http://www.dreamincode.net/forums/topic/192592-making-an-exe-file-with-pyinstaller/

但是不太明白。

1 个答案:

答案 0 :(得分:2)

是的,试试:

pyinstaller.exe --onefile --windowed --icon=app.ico app.py

this指南中找到。如果您需要,Google快速搜索会引导您获得大量的.ico文件。

相关问题