Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #36219
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <yacinechaouche@yahoo.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'syntax': 0.03; 'interpreter': 0.04; 'subject:Python': 0.05; 'compiler': 0.05; 'transform': 0.05; 'python': 0.09; 'ast': 0.09; 'trees': 0.09; 'advance.': 0.15; 'file,': 0.15; 'java,': 0.15; '.py': 0.16; 'bytecode': 0.16; 'received:98.138.89.195': 0.16; 'subject:programming': 0.16; 'email addr:gmail.com>': 0.20; 'python?': 0.20; 'to:name:python-list@python.org': 0.20; 'interpret': 0.22; 'machine.': 0.22; 'parse': 0.22; 'programming': 0.23; 'to:2**1': 0.23; 'allows': 0.25; 'header:In-Reply-To:1': 0.25; 'change,': 0.27; 'tree': 0.27; "doesn't": 0.28; 'dom': 0.29; 'invoke': 0.29; 'them?': 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; 'to:addr:python- list': 0.33; 'produced': 0.33; 'reply-to:addr:yahoo.com': 0.34; 'thanks': 0.34; 'same.': 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; 'subject:: ': 0.38; 'from:': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'takes': 0.39; 'hello,': 0.39; 'url:mail': 0.40; 'your': 0.60; 'first': 0.61; 'email name:python- list': 0.62; 'finally': 0.66; 'header:Reply-To:1': 0.68; '2013': 0.84; 'step.': 0.91 |
| X-Yahoo-Newman-Property | ymail-3 |
| X-Yahoo-Newman-Id | 504923.12652.bm@omp1053.mail.ne1.yahoo.com |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1357425278; bh=GjK8rSIY+rwpkAQmEtYNdgVR/pLfweeQ2xRzqyZWmpI=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=wmGr19JJejYZwqQ7D/BITGtL1v3GBMwxixTRmiSXYktJi+r2acviTGX65uq4hVbQmnWbwFrcGr8/vCDEdvqA/5bbxlxi2Oq1EeMPjNXRIv4bK0xNmRGe8fqBj3VkPAi1NiLhGzNdtPz9rigXIl0xoKXHiNy5OpSWR4YKy1QzcIU= |
| DomainKey-Signature | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=WxUl7K+eMCZtOOBeR9rZh4t6J6hQ30McQY1Bn/xZ6rGI4j2lSrPigHc6Ti7MrVnUTByhJN2HutuhJwdmkbUSOHzqyXfuiViKIMM4F7NNcIifTsHES3VTvGIVVSsUvofMHNrP6fkaNOIqq5vWrH1uSfMTjbc06YteIJKn3Uw2eyE=; |
| X-YMail-OSG | FRAtWxQVM1l2IU_8nOU7YpdxOh2odwiOQXSjGH0gxTmrgdW N2EnwEp1VrAbPxS3cowYxi3IMLVFGXJ5j.em9DzjCbVUr1xvCbnLViyeet9L LvAc5VvMmDBa3Twhpe3YfejGGeJlR1TlsQXGZEqvOdLWcTW67uW0crywwwHr GFwEnFBP8L2B8c6HX1mBMfB2aT6x123YFWsUp37jWMIQth6p93.p9XTyVO9E UNxNImYe6cV.D3IV8GFkp9TPq9sqAbHyyM028mAsU.kBHtv0PVeYt5MOL1eq 0.x0cCqPMj6ZGSk3iIfcRn2KqscxKnapOp_xF__O_0x35aUBovdt.j9cU6yy HMOpujeIAewWeXcbaWtAkgTirf8m7c8.zfrpPuaBizLfBM9ntbNbPkvX5Qox TahEr7BPrFMUCezu3tBpVFYgK.MKuyZrVQaZwNSoIBu3R8fCrJnFKYVbIK7x JdO7oseFxAj1ysGfP4vOhOFcg7ZYJpWqUlVjh0AGxg50YcnPfEz68fZRwbks ZGR02FulRCHFm8ALXIz.hCHkdi99tJaa_Hp2.HzjPhWj5W0nrqWSbxOpGgDF IiPnoHS8LxORo7AIfBQ-- |
| X-Rocket-MIMEInfo | 001.001, VGhlIGNvbXBpbGVyIHJlYWRzIHlvdXIgc291cmNlIGNvZGUgYW5kIHBhcnNlcyBpdCBpbnRvIHBhcnNlIHRyZWVzLiBUaGlzIGlzIGZpcnN0IHN0ZXAuIEl0IHRoZW4gdGFrZXMgdGhlIHBhcnNlIHRyZWVzIGFuZCB0cmFuc2Zvcm0gdGhlbSBpbnRvIGFic3RyYWN0IHN5bnRheCB0cmVlcywgd2hpY2ggYXJlIGxpa2UgYSBET00gdHJlZSBpbiBhbiBIVE1MIGZpbGUsIGFuZCB0aGVuIHRyYW5zZm9ybSB0aGF0IEFTVCBpbnRvIGEgY29udHJvbCBmbG93IGdyYXBoLCBhbmQgZmluYWxseSBhIGJ5dGVjb2RlIGlzIHABMAEBAQE- |
| X-Mailer | YahooMailWebService/0.8.129.483 |
| References | <CAFLxTvm4ytk5nRn0bxYegagkidRsXxJp2jPa=mP_o2DJUsxrkA@mail.gmail.com> |
| Date | Sat, 5 Jan 2013 14:34:38 -0800 (PST) |
| From | chaouche yacine <yacinechaouche@yahoo.com> |
| Subject | Re: Python programming philosophy |
| To | Nac Temha <naccttemha@gmail.com>, "python-list@python.org" <python-list@python.org> |
| In-Reply-To | <CAFLxTvm4ytk5nRn0bxYegagkidRsXxJp2jPa=mP_o2DJUsxrkA@mail.gmail.com> |
| MIME-Version | 1.0 |
| Content-Type | multipart/alternative; boundary="329289550-1750537997-1357425278=:40939" |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | chaouche yacine <yacinechaouche@yahoo.com> |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.153.1357425282.2939.python-list@python.org> (permalink) |
| Lines | 51 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1357425282 news.xs4all.nl 6897 [2001:888:2000:d::a6]:43699 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:36219 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
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 abstract syntax trees, which are like a DOM tree in an HTML file, and then transform 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 file 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. 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 cross platform issues are handled by the virtual machine. ________________________________ From: Nac Temha <naccttemha@gmail.com> To: python-list@python.org Sent: Saturday, January 5, 2013 11:05 PM Subject: Python programming philosophy 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. -- http://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Python programming philosophy chaouche yacine <yacinechaouche@yahoo.com> - 2013-01-05 14:34 -0800 Re: Python programming philosophy 88888 Dihedral <dihedral88888@googlemail.com> - 2013-01-05 19:41 -0800 Re: Python programming philosophy 88888 Dihedral <dihedral88888@googlemail.com> - 2013-01-05 19:41 -0800
csiph-web