destroying window in __init__

Jacek Popławski jp at ulgo.koti.com.pl
Fri Jun 15 11:14:31 EDT 2001


I use Tkinter, my __init_ looks like this:

self.window=Toplevel(parent)
(...)
if (something_bad):
  self.window.destroy()

it works, but I see error message, how to fix it?  

-- 
Same story, different eyes
Here's where the hero never, never dies

                                          "Hollywood Black" - Ronnie James Dio



More information about the Python-list mailing list