>>> from Tkinter import *[color=blue][color=green][color=darkred]
>>> r=Tk()
>>> b=Button(r,text ='Quit',command =r.quit)
>>> b.pack()
>>> r.mainloop()[/color][/color][/color]
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
>>> r=Tk()
>>> b=Button(r,text ='Quit',command =r.quit)
>>> b.pack()
>>> r.mainloop()[/color][/color][/color]
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
Comment