
上QQ阅读APP看书,第一时间看更新
How to do it...
For this example, I have copied the icon from where I installed Python 3.6 to the same folder where the code lives.

Place the following code somewhere above the main event loop:
# Change the main windows icon
win.iconbitmap('pyc.ico')
Note how the feather default icon in the top-left corner of the GUI changed:
GUI_icon.py
