python tkinter set logo code example Example: tkinter app icon import tkinter as tk root = tk.Tk() root.iconbitmap("myIcon.ico")