num = 0
def animate():
global num
print(num)
img = PhotoImage(file = "gif.gif", format = "gif -index {}".format(100))
label.configure(image = img)
num = (num+1)%180
screen.after(25, animate)
animate()
Why the Label... "label" is not updated as the current frame, instead just appears as a default label(gray color)?