import tkinter as tk import tktk win = tk.Tk() tktk.GifFrame(win,gif_path=r"D:\ls\222.gif").pack() win.mainloop()