January 7th, 2005, 12:58 PM
Join Date: Jan 2005
Time spent in forums: < 1 sec
Reputation Power: 0
Need some help with Tkinter and error
I grabbed this snippet of code off a website somewhere, cause I wanted to see how it worked.
from Tkconstants import *
canvas.create_image(200, 250, image=photo)
button=Tkinter.Button(frame, text="EXIT", command=tk.destroy)
root = Tkinter.Tk()
However, I'm getting the following error:
TclError: image "pyimage5" doesn't exist
I checked the forum, and couldn't see anything that would help. I'm running XP, if that would make a diff.
Thanks for any help