Tkinter program crashes

Chad Netzer cnetzer at sonic.net
Thu Aug 21 09:00:15 CEST 2003


On Thu, 2003-08-14 at 10:55, srijit at yahoo.com wrote:
> Hello,
> 
> Any idea - why the following code crashes on my Win 98 machine with
> Python 2.3?

>         self.button = Button(
>             frame, text="QUIT", fg="red", command=frame.quit


Rather than "frame.quit", could you try "sys.quit", to see if it makes a
difference?

-- 

Chad Netzer






More information about the Python-list mailing list