How can change the logo of Tkinter GUI screen

python-2.7, tkinter

Solution

Just do this with your `root` :

root.wm_iconbitmap('myicon.ico')

Here is a small example:

from Tkinter import *
root = Tk()
root.wm_iconbitmap('myicon.ico')
root.wm_title('Title')
root.mainloop()

Problem

I was trying to change the Logo of my Python Tkinter GUI, as right now it is displayed as "Tk" at top left corner. Can somebody please tell me how to change this and please write something custom names?

Original source