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