Tkinter: image doesn't exist.
fredrik at pythonware.com
Fri Mar 2 08:40:16 CET 2001
David Allen wrote:
> What kind of a crappy error message is "image doesn't
it means exactly what it says: when created, the PhotoImage class
registers a photoimage object with Tk, but when you try to use it in
FooModule, it's no longer there.
are you perhaps using multiple root windows?
(each root has its own interpreter context, and images registered
in one context aren't visible in other contexts. use Toplevel in-
<!-- (the eff-bot guide to) the standard python library:
More information about the Python-list