Tkinter Crash under PythonWin
Robert Roy
rjroy at takingcontrol.com
Mon Nov 12 13:48:34 EST 2001
PythonWin and Tkinter do not play nicely together.
See:
http://www.python.org/topics/tkinter/trouble.html
under windows gotchas
Bob
On Mon, 12 Nov 2001 17:38:08 GMT, "Dave Butler"
<davebutlerREMOVE at hotmail.com> wrote:
>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