Tkinter: IDLE can't get out of mainloop

Chris Rebert clp2 at rebertia.com
Sat Mar 31 03:59:48 EDT 2012


On Sat, Mar 31, 2012 at 12:42 AM, Frederic Rentsch
<anthra.norell at 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



More information about the Python-list mailing list