Tkinter: IDLE can't get out of mainloop

Terry Reedy tjreedy at udel.edu
Sat Mar 31 06:29:27 EDT 2012


On 3/31/2012 3:42 AM, Frederic Rentsch wrote:
> Hi all,
>
> Is is a bad idea to develop Tkinter applications in IDLE? I understand
> that IDLE is itself a Tkinter application, supposedly in a mainloop and
> mainloops apparently don't nest.

In standard configuration, one process runs IDLE, another runs user 
code, including tkinter code. So there should be no interference. The 
example in the tkinter doc runs from IDLE edit window on my system. The 
revised example in coming releases works even better. There have been 
several IDLE bugs fixed in the last few months, and even more since 2.6 
before that. Upgrade if you can to get fixes, suffer the bugs since 
fixed, or patch your 2.6 installation.

-- 
Terry Jan Reedy




More information about the Python-list mailing list