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

References <1333179779.2280.50.camel@hatchbox-one>
Date 2012-03-31 00:59 -0700
Subject Re: Tkinter: IDLE can't get out of mainloop
From Chris Rebert <clp2@rebertia.com>
Newsgroups comp.lang.python
Message-ID <mailman.1174.1333180792.3037.python-list@python.org> (permalink)

Show all headers | 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