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


Groups > comp.lang.python > #36217

Re: Python programming philosophy

References <CAFLxTvm4ytk5nRn0bxYegagkidRsXxJp2jPa=mP_o2DJUsxrkA@mail.gmail.com>
Date 2013-01-06 09:15 +1100
Subject Re: Python programming philosophy
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.151.1357424129.2939.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Jan 6, 2013 at 9:05 AM, Nac Temha <naccttemha@gmail.com> wrote:
> Hello,
>
> I want to learn working principle of python as broadly. How to interpret the
> python?  For example, what is pyc files and when does it occur?
> Can you explain them? Thanks in advance.

The pyc files aren't really a philosophical point, they're just a
cache of the compiled versions of .py files - the assumption being
that if you import it as a module once, chances are you'll import it
again later, and libraries tend not to change much.

For the philosophy of Python, type this at the interactive prompt:

import this

ChrisA

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


Thread

Re: Python programming philosophy Chris Angelico <rosuav@gmail.com> - 2013-01-06 09:15 +1100

csiph-web