Tkinter Crash under PythonWin

Dave Butler davebutlerREMOVE at hotmail.com
Mon Nov 12 18:38:08 CET 2001


I recently began exploring Tkinter programming. I built the following
program based on similar code in a book:

from Tkinter import *

top = Tk()

quit = Button(top, text='Quit', command=top.quit)
quit.pack()

mainloop()


This simple "app" opens fine and closes when run from a command prompt
(under Win2000). However, when run from PythonWin (win32all build 140) the
app does not close and a few clicks later PythonWin crashes with a MS Visual
C++ runtime error ("abnormal program termination").

Any explanations? Is PythonWin a stable platform for using Tkinter?

Thanks,

Dave





More information about the Python-list mailing list