from tkinter import *
photo = PhotoImage(file="C:\Temp\test\computer.gif")
lbl = Label(root, image=photo, height="10", width="20").pack
에서 작동하지 않는 이유는 함께 제공 작동하지 않습니다 _tkinter.TclError: couldn't recognize data in image file "C:\Temp\test\computer.gif.
GIF 이미지는 내가 전혀 생각이 없다 Tkinter를
위 코드에서'lbl'은 Label 객체가 아니라 함수 객체입니다. 'pack' 메소드를 호출하고 싶다면 별도의 라인에서해야한다. – Nae