Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #22457

Re: Tkinter: IDLE can't get out of mainloop

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <anthra.norell@bluewin.ch>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:IDLE': 0.05; 'things.': 0.05; 'tkinter': 0.07; 'x-mailer:evolution 2.28.3': 0.07; 'fixed,': 0.09; 'terry': 0.09; 'jan': 0.11; 'files.': 0.14; 'sat,': 0.14; 'idle,': 0.16; 'reedy': 0.16; 'suggestion.': 0.16; 'runs': 0.18; 'code,': 0.19; 'wrote:': 0.19; 'example': 0.19; 'all,': 0.21; 'doc': 0.21; 'header:In-Reply-To:1': 0.22; 'bugs': 0.23; 'window': 0.23; 'code.': 0.23; 'that.': 0.24; 'idea': 0.24; '2.6': 0.27; 'fixed': 0.29; 'patch': 0.30; 'chris': 0.31; 'itself': 0.31; 'am,': 0.34; 'to:addr:python-list': 0.35; 'thanks': 0.35; 'should': 0.35; 'there': 0.36; 'another': 0.36; 'thank': 0.36; 'bad': 0.36; 'several': 0.37; 'subject:: ': 0.37; 'system.': 0.38; 'received:192': 0.39; 'to:addr:python.org': 0.39; 'received:192.168': 0.40; 'received:192.168.1': 0.40; 'more': 0.63; 'received:ch': 0.70; 'subject:get': 0.82; 'from:addr:bluewin.ch': 0.84; 'remark': 0.84; 'suffer': 0.84
Subject Re: Tkinter: IDLE can't get out of mainloop
From Frederic Rentsch <anthra.norell@bluewin.ch>
To python-list@python.org
In-Reply-To <jl6maf$ptg$2@dough.gmane.org>
References <1333179779.2280.50.camel@hatchbox-one> <jl6maf$ptg$2@dough.gmane.org>
Content-Type text/plain; charset="UTF-8"
Date Mon, 02 Apr 2012 12:56:30 +0200
Mime-Version 1.0
X-Mailer Evolution 2.28.3
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1209.1333364265.3037.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1333364265 news.xs4all.nl 6892 [2001:888:2000:d::a6]:44171
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:22457

Show key headers only | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Tkinter: IDLE can't get out of mainloop Frederic Rentsch <anthra.norell@bluewin.ch> - 2012-04-02 12:56 +0200

csiph-web