Python Forum

Full Version: Tkinter Animation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to use gif for Animation Movement in Tkinter


from tkinter import *

root = Tk()

img = PhotoImage(file = 'Image_21.gif')
panel = Label(root, image = img)
panel.pack()

root.mainloop()

Here's a tkinter animation script to study: http://effbot.org/zone/tkinter-animation.htm
(Nov-03-2019, 07:03 PM)Larz60+ Wrote: [ -> ]Here's a tkinter animation script to study: http://effbot.org/zone/tkinter-animation.htm
But i want to insert my own gif
just search youtube and google there are many tutorials and videos available on the subject.