Hello, i'm trying to run a code with tkinter in but it doesn't work. Can anyone help me please? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Hello, i'm trying to run a code with tkinter in but it doesn't work. Can anyone help me please?

My input is: from tkinter import * tk=Tk() canvas=Canvas.pack(tk, width=400, height=400) canvas.pack() my_image=Photo_image(file="f:\\test.gif") canvas.create_image(0,0,anchor=NW,image=my_image)

25th Mar 2021, 6:27 PM
Hayk Serobyan
Hayk Serobyan - avatar
1 Answer
+ 2
Thank you so much!!
26th Mar 2021, 7:47 AM
Hayk Serobyan
Hayk Serobyan - avatar