Images in Tkinter
Matt McCredie
mccredie at gmail.com
Fri Jul 20 13:00:55 EDT 2007
That code doesn't tell me anything. You are going to have to post a more
complete example to get help. Like, enough code so that I can run it and see
the same problem.
> Also, I tried creating the image object outside class but it
> gives a runtime error saying it is too early to create an image
> object. Please help!
You need to call Tkinter.Tk() before you can create an instance of
`PhotoImage' (I don't know why, but I know I got a similar error when I
didn't).
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070720/00ec7641/attachment.html>
More information about the Python-list
mailing list