Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed4.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'received:209.85.223': 0.03; 'syntax': 0.03; 'interpreter': 0.04; 'subject:Python': 0.05; 'compiler': 0.05; 'transform': 0.05; 'python': 0.09; 'ast': 0.09; 'to:addr:comp.lang.python': 0.09; 'trees': 0.09; 'cc:addr:python- list': 0.10; 'advance.': 0.15; 'file,': 0.15; 'java,': 0.15; 'tutorials': 0.15; '.py': 0.16; '8bit%:72': 0.16; 'bytecode': 0.16; 'subject:programming': 0.16; 'python?': 0.20; 'java': 0.21; 'interpret': 0.22; 'machine.': 0.22; 'parse': 0.22; 'programming': 0.23; 'allows': 0.25; 'cc:addr:python.org': 0.25; 'header:In- Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'cc:addr:gmail.com': 0.27; 'language.': 0.27; 'cc:2**2': 0.27; 'change,': 0.27; 'tree': 0.27; "doesn't": 0.28; 'fixed': 0.28; 'dom': 0.29; 'invoke': 0.29; 'them?': 0.29; 'types.': 0.29; 'url:mailman': 0.29; 'handled': 0.29; 'source': 0.29; 'code': 0.31; 'url:python': 0.32; 'file': 0.32; 'skip:_ 30': 0.32; 'url:listinfo': 0.32; 'produced': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'from:addr:googlemail.com': 0.35; 'same.': 0.35; 'received:209.85': 0.35; 'subject:': 0.36; 'created': 0.36; 'explain': 0.36; 'url:org': 0.36; 'flow': 0.36; 'email addr:python.org': 0.36; 'does': 0.37; 'sent:': 0.37; 'virtual': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'from:': 0.38; 'files': 0.38; 'takes': 0.39; 'hello,': 0.39; 'url:mail': 0.40; 'your': 0.60; 'first': 0.61; 'finally': 0.66; 'cc:addr:yahoo.com': 0.71; '2013': 0.84; 'step.': 0.91 X-Received: by 10.50.197.195 with SMTP id iw3mr688158igc.10.1357443707724; Sat, 05 Jan 2013 19:41:47 -0800 (PST) Newsgroups: comp.lang.python Date: Sat, 5 Jan 2013 19:41:47 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=123.192.32.215; posting-account=5JdMBQoAAABHnS4mjpqEzxnmWtgiiVNw References: User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 123.192.32.215 MIME-Version: 1.0 Subject: Re: Python programming philosophy From: 88888 Dihedral To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "python-list@python.org" 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: , Message-ID: Lines: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1357443716 news.xs4all.nl 6869 [2001:888:2000:d::a6]:35873 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:36222 chaouche yacine=E6=96=BC 2013=E5=B9=B41=E6=9C=886=E6=97=A5=E6=98=9F=E6=9C= =9F=E6=97=A5UTC+8=E4=B8=8A=E5=8D=886=E6=99=8234=E5=88=8638=E7=A7=92=E5=AF= =AB=E9=81=93=EF=BC=9A > The compiler reads your source code and parses it into parse trees. This = is first step. It then takes the parse trees and transform them into abstra= ct syntax trees, which are like a DOM tree in an HTML file, and then transf= orm that AST into a control flow graph, and finally a bytecode is produced = out of that control flow graph. The pyc files you see are this bytecode, so= they are produced at the end. Anytime you edit your .py file, a new .pyc f= ile is created if you invoke the python interpreter myfile.py on the former= . If your .py file doesn't change, the .pyc file stays the same. >=20 > Just like with java, this allows you to write a single .py file that can = work on any platform without changing the source file, because all the cros= s platform issues are handled by the virtual machine. >=20 >=20 >=20 >=20 > ________________________________ > From: Nac Temha > To: pytho...@python.org=20 > Sent: Saturday, January 5, 2013 11:05 PM > Subject: Python programming philosophy >=20 >=20 > Hello, >=20 >=20 >=20 > I want to learn working principle of python as broadly. How to interpret = the python? =C2=A0For example, what is pyc files and when does it occur? > Can you explain them? Thanks in advance. > --=20 > http://mail.python.org/mailman/listinfo/python-list Yes, check JYTHON tutorials to understand dynamic types. Java is still a fixed type computer language.