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


Groups > comp.lang.python > #22413

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

Path csiph.com!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <chris@rebertia.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.084
X-Spam-Evidence '*H*': 0.83; '*S*': 0.00; 'subject:IDLE': 0.05; 'python': 0.09; '*not*': 0.09; 'cc:addr:python-list': 0.10; 'sat,': 0.14; 'wrote:': 0.19; '31,': 0.21; 'header:In-Reply-To:1': 0.22; 'message-id:@mail.gmail.com': 0.24; 'run': 0.25; 'cheers,': 0.26; 'cc:2**0': 0.26; 'cc:no real name:2**0': 0.27; 'cc:addr:python.org': 0.28; 'source': 0.29; "skip:' 10": 0.29; '(i.e.': 0.30; 'compiled': 0.30; 'chris': 0.31; 'point': 0.31; 'url:python': 0.32; 'received:209.85': 0.32; 'received:google.com': 0.32; 'code': 0.32; 'received:209.85.220': 0.33; 'am,': 0.34; 'things': 0.35; 'received:209': 0.35; 'url:org': 0.35; 'there': 0.36; 'subject:: ': 0.37; 'url:docs': 0.37; 'where': 0.39; 'header:Received:5': 0.40; '2012': 0.62; 'times': 0.62; 'time?': 0.65; 'subject:get': 0.82; 'received:209.85.220.174': 0.84; 'received:mail- vx0-f174.google.com': 0.84; 'sender:addr:chris': 0.84; 'to:addr:bluewin.ch': 0.84; 'url:tutorial': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=k+Ffvv+zhhmO+zyjw3OSjjQkfxuMQG2Hw0h00RdpPMk=; b=GIWc0qMtxEpgQaFvqPLcCDwz74/Cnc2MCUw7qpP5gPyXH+TtdR7Mc2y30lw7uIJDm7 vzPyVh4BXlw6gdsRFLBYW3o/UDNqMC+HXC2A12Unf7bqo0PJfGgPkx/afVqAuVCqu7ok poKqJUF1T8OYhpL9wAw4IR5lJfPTZYrYu6/JU=
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=k+Ffvv+zhhmO+zyjw3OSjjQkfxuMQG2Hw0h00RdpPMk=; b=byRHYUn8qTpY6+2PW1A+5TFf7hV3NgKjV/w+WzCaCtYAA7cgYN03BbqNykVT1JZwI8 AJeokUIVPFnNTKHf9VO6jNIXGQTBPqaeFRnSD4opajfIg3HYXHHZ9OjdngH3eq6hTrvK 5rv6NB+U/gtOBRI0MrgfB/7P+WztOyHq/a4kUfF9wZav4jFnBuN40n6bawoBHX2O537Z w47GIKg6bO2AXko1458S/jxS8jf6n6XOGsVMpKHdHgNrTeo1jRKenhQ/obWTHRltqKNM Rbg3/fuoLLkq63xK8+2jft2495IDvO4+EnpQVRj7xeApg9Rd3NciHBqdxuiLQjWIzpaA NN4Q==
MIME-Version 1.0
Sender chris@rebertia.com
In-Reply-To <1333179779.2280.50.camel@hatchbox-one>
References <1333179779.2280.50.camel@hatchbox-one>
Date Sat, 31 Mar 2012 00:59:48 -0700
X-Google-Sender-Auth h27K6fVSsSK07Q2jf8FVLkoaZ0E
Subject Re: Tkinter: IDLE can't get out of mainloop
From Chris Rebert <clp2@rebertia.com>
To Frederic Rentsch <anthra.norell@bluewin.ch>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Gm-Message-State ALoCoQn+dPGn+rF/GsUu8sQzYWtprQFcMhRvKZVYZ35IIUtQLjqJCR0yiocyNVCezZL+ukzP62ZE
Cc python-list@python.org
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.1174.1333180792.3037.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1333180792 news.xs4all.nl 6849 [2001:888:2000:d::a6]:44658
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:22413

Show key headers only | View raw


On Sat, Mar 31, 2012 at 12:42 AM, Frederic Rentsch
<anthra.norell@bluewin.ch> wrote:
<snip>
>   If I run from a terminal things seem to work out. Is it standard
> development practice to run code from a terminals ($ python program.py)?
> What's the 'program.pyc' for if the source is compiled every time?

The entire point of .pyc files is to avoid unnecessary
re-byte-compilation from source code when possible:
http://docs.python.org/tutorial/modules.html#compiled-python-files
(i.e. there are times where the source is *not* recompiled.)

Cheers,
Chris

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


Thread

Re: Tkinter: IDLE can't get out of mainloop Chris Rebert <clp2@rebertia.com> - 2012-03-31 00:59 -0700

csiph-web