Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'subject:Python': 0.05; 'cache': 0.05; 'python': 0.09; 'advance.': 0.15; '.py': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:programming': 0.16; 'wrote:': 0.17; 'tend': 0.17; 'jan': 0.18; 'module': 0.19; 'versions': 0.20; 'python?': 0.20; 'import': 0.21; 'interpret': 0.22; 'libraries': 0.22; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'compiled': 0.27; 'message-id:@mail.gmail.com': 0.27; 'once,': 0.29; 'them?': 0.29; "aren't": 0.33; 'much.': 0.33; 'point,': 0.33; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'received:209.85': 0.35; 'really': 0.36; 'explain': 0.36; 'does': 0.37; 'being': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'hello,': 0.39; 'header:Received:5': 0.40; "you'll": 0.62; '2013': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=og9ONLXxXUzUQUer/dgQRGk0ST1+QKDwBPF29+3equM=; b=YoowZfENbAPSzvp7D3xFAac8jyH8ObWHbBrXTjg5K8IX9vUpwCU0TeYS3GPK82LvOG E5IOVXrVaVkmEfEgaRFaG09/WiL0HMy7mTPIa5oahuPl0wKrThh3StsfSsXNkgizm9VM t7bRb571yiVrQ2H/PaARPMNyn0DxPTT3FMwEamJxNegaSXXDPw3dLLSBbiw+vI089lbP PrrhHWw//S0IAe14vLfZ7mQ5Sk86HT4w6POAGKdIklt2dwqJQ7jlKHe4iB0+aGHCsySA jKt7NPpENuE6Ww0YJJbPX1DNMUANRDjFffCKcT/EgbhaVVhq7SOeP09JfhkyvguISFZI lZug== MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 6 Jan 2013 09:15:19 +1100 Subject: Re: Python programming philosophy From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1357424129 news.xs4all.nl 6874 [2001:888:2000:d::a6]:38170 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:36217 On Sun, Jan 6, 2013 at 9:05 AM, Nac Temha 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