I'm traying to make an app GUI using tkinter. how do I change the window icon? I trayed to do:
import tkinter as tk root = tk.Tk() root.iconbitmap('app_icon.ico') root.mainloop
I think you have to show that path to the ico picture, try this:
import tkinter as tk root = tk.Tk() root.iconbitmap('/path/to/ico/app_icon.ico') root.mainloop()
2.1m questions
2.1m answers
60 comments
57.0k users