Tkinter Crash under PythonWin

Dave Butler davebutlerREMOVE at hotmail.com
Mon Nov 12 14:08:19 EST 2001


Bob,

Thank you very much.

Dave

"Robert Roy" <rjroy at takingcontrol.com> wrote in message
news:3bf01850.1296461609 at news1.on.sympatico.ca...
> 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