[Tutor] When you write the script how is it interpreted?

Paul Sidorsky paulsid at shaw.ca
Wed Jan 30 18:31:39 EST 2002


"McCarney, James Alexander" wrote:

> This is something I have wondered. When I write a script and Py interprets
> it, how does Py compile it?

This doesn't seem too clear.  If you mean how the syntax and stuff is
processed, the language reference is probably where you should go:

http://www.python.org/doc/current/ref/ref.html

If you mean how things actually work internally, then you probably
should start with the docs for the dis module:

http://www.python.org/doc/current/lib/module-dis.html

(Specifically, the byte code reference might be useful.)

> Could anyone direct me to some FAQs or really high-level dirt on the matter.

The above aren't all that high-level but you probably aren't going to
find much better since this kind of thing isn't exactly an area of
general interest.

-- 
======================================================================
Paul Sidorsky                                          Calgary, Canada
paulsid at shaw.ca                        http://members.shaw.ca/paulsid/




More information about the Python-list mailing list