Memory exception with Tkinter root.quit

Jane Austine janeaustine50 at hotmail.com
Mon Nov 17 20:46:36 EST 2003


>>> from Tkinter import *
>>> r=Tk()
>>> b=Button(r,text='Quit',command=r.quit)
>>> b.pack()
>>> r.mainloop()

And when I press the "Quit" button the mainloop exits. After that, if
I finish the python shell, a memory exception occurs.

This is Windows XP machine with Python 2.3.

Can anyone see the problem?

Jane




More information about the Python-list mailing list