Python compiler?

Tim Peters tim_one at email.msn.com
Sun Jan 23 22:55:28 EST 2000


[J Dubal]
> Does [Python] have a compiler for Linux and/or windows that can
> produce native executables?

[Gerrit Holl]
> Yes, it has one. It's included in the Python distribution,
> Tools/freeze.  It's called freeze, and with it, you won't
> need any Python interpreter.

Just to prevent any possible misunderstanding, freeze works by sticking a
copy of the interpreter into the executable.  This is probably not what J
Dubal had in mind, but that's life.  A Python VM is needed to execute Python
bytecodes just as a Java VM is needed to execute Java bytecodes, and that's
what "the interpreter" is.

the-natives-are-restless-tonight-ly y'rs  - tim






More information about the Python-list mailing list