Compiler

Peter Hansen peter at engcorp.com
Mon Apr 26 19:55:06 EDT 2004


Steven wrote:

> Just curious, is there a python compiler?
> Or something that creates bytecode, like java?

Yes.  They are the same thing.  Javac compiles Java source
to Java bytecode.  C compilers compile C source to
machine-specific bytecode (called machine code).  Python
compiles Python source to Python bytecode.  The main
difference is that Python does this transparently behind
your back whenever the source has change, while many other
languages that do it require a separate manual step...

-Peter



More information about the Python-list mailing list