Python GUI Programming Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

Changing the icon of the main root window

One way to customize our GUI is to give it an icon different from the default icon that ships out of the box with tkinter. Here is how we do this.