[Tutor] Help me with this Tkinter code

Michael Lange klappnase at freenet.de
Wed Oct 11 11:57:00 CEST 2006


On Tue, 10 Oct 2006 23:32:57 +0100
"Asrarahmed Kadri" <ajkadri at googlemail.com> wrote:

> The error message is as under:
> 
> 
> *Microsoft Visual C++ Runtime Library*
> 
> * Runtime Error!
>  Program: C:\python\Lib\site-packages\pythonwin\Pythonwin.exe*
> 
> * This application has requested the Runtime to terminate it in an unusual
> way. Please contact the application's support team for more inforamtion.*
> Any idea??? what is this and how can it be fixed???
> 

If you run a Tkinter program from IDLE you should not call mainloop(), as Alan pointed
out before, you try to run a new mainloop inside the already existing one which
confuses Tk (at least this was true for the version of IDLE i had used).

I hope this helps

Michael


More information about the Tutor mailing list