[this is my code in VS code] When I using photoimage ( file = “path”) it’s showing error
See there error is there without any reason
from tkinter import *
win = Tk()
win.title(“dhruv”)
photo = PhotoImage(file=”th (6).jpeg”)
lb =Label(win,image=photo)
lb.place(x=100,y=100)
win.mainloop()
Code is there check it please
New contributor
Dhruv meena is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3