How does python work
mwh at python.net
Wed Jul 16 18:02:32 CEST 2003
"A.M. Kuchling" <amk at amk.ca> writes:
> On Thu, 10 Jul 2003 13:05:07 +0200,
> Geiregat Jonas <eniac at sdf-eu.org> wrote:
> > I'm asking myself how Python code get's executed ...
> > What happens first etc ...
> > First read the file and then ..
> The code is parsed and compiled into bytecode that can then be executed.
> Consult a textbook on parsing or programming language implementation for
> more details about how parsing is done.
> I thought someone (MWH?) wrote an explanation of Python's internals once,
> but can't find anything at the moment.
I've threatened to do it, but not actually done it.
If you can read C, these things aren't that hard to figure out (though
tags or cscope certainly help...).
You owe the Oracle a star-spangled dunce cap.
-- Internet Oracularity Internet Oracularity #1299-08
More information about the Python-list