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