How do I upload an image on Python using Tkinter?
I am doing GUI programming using Tkinter on Python. I am using the grid manager to make widgets. I have created several buttons and I want to upload an image on top of them. When I enter this code, it gives me an escape sequence error. I heard using PIL is not a good idea? Is that true? cookImage = PhotoImage(file = "image/C:\Users\terimaa\AppData\Local\Programs\Python\Python36-32\cook.gif")
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.