hey i am working with python 3 and i am trying to set a gif file as my GUI background. The canvas.configure(bg=myimage) does not work. Any ideas?
width, height = 800, 500
canvas = tkinter.Canvas(width=width, height=height, bg="black")
canvas.pack(fill=None, expand=False)
#Sets the backround image
myimage = PhotoImage(file='world.gif')
canvas.configure(bg=myimage)