how to change the window icon with python code example Example: how to add icon to tkinter window root.iconbitmap('icon.ico')