【发布时间】:2014-06-09 14:48:49
【问题描述】:
所以我正在用 tkinter 为学校做一个项目 我目前正在尝试做的是显示一个 450x450px .gif 的图像
它需要做的是 打开 > 20 秒延迟 > 关闭
这是当前代码
photo = tkinter.PhotoImage(file = './Images/img1.gif')
root.geometry("450x450")
root.update()
canvas.create_image(225,225, image=photo)
root.mainloop()
【问题讨论】:
-
我的意思是关闭图像,但
canvas.destroy()不起作用
标签: python tkinter photoimage