Tkinter: IDLE can't get out of mainloop

Frederic Rentsch anthra.norell at bluewin.ch
Mon Apr 2 06:56:30 EDT 2012


On Sat, 2012-03-31 at 06:29 -0400, Terry Reedy wrote:
> 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
> 

Terry,
	It helps to know that an upgrade might improve things. Thank you for
the suggestion. And thanks also to Chris for his remark on .pyc files.

Frederic





More information about the Python-list mailing list