icon to tkinter code example
Example 1: how to add icon to tkinter window
root.iconbitmap('icon.ico')
Example 2: tkinter icon
root.iconbitmap(r'C:\Users\Userid\ICON.ico')
root.iconbitmap('icon.ico')
root.iconbitmap(r'C:\Users\Userid\ICON.ico')