how python works

Burton Samograd burton at userful.com
Fri Jul 30 14:25:37 EDT 2010


Mahmood Naderan <nt_mahmood at yahoo.com> writes:

> So is it a compiler or interpreter?

There's a compiler that compiles python to bytecode which is then
interpreted.  This saves the interpreter from having to re-parse the
code at run time.

So, it's an interpreter that compiles the code first.

--
Burton Samograd





More information about the Python-list mailing list