how to switch image in tkinter? making it mutable? how?

ChrisChia chrischia82 at
Mon Aug 16 16:30:08 CEST 2010

I have this:
image1 = ImageTk.PhotoImage(file = "c:\\f1.jpg")
image2 = ImageTk.PhotoImage(file = "c:\\f2.jpg")


self.label  = tk.Label(image = imagelist[0])

is there a way that i can create a method to switch the display the
image2 (imagelist 2nd element)
without using label.bind?

can i make an image mutable?

More information about the Python-list mailing list