from tkinter import *
root = Tk()
root.title('Icon')
root.iconbitmap('Desktop/img.ico')
root.mainloop()
I typed the above code. However, the icon is not shown. How can I fix this?
from tkinter import *
root = Tk()
root.title('Icon')
root.iconbitmap('Desktop/img.ico')
root.mainloop()
I typed the above code. However, the icon is not shown. How can I fix this?