python pyc or pyo files

Fredrik Lundh fredrik at pythonware.com
Thu Apr 20 00:42:57 EDT 2006


"micklee74 at hotmail.com" wrote:

> any good websites or articles that describes about pyc or pyo files ,
> how they are generated and what's the difference between them and
> Java's bytecode??

they're described in the Python tutorial:

    http://docs.python.org/tut/node8.html#SECTION008120000000000000000

the difference between PYC files and java byte code is that PYC files
contain Python byte code, not Java code, and that Python generates
them on the fly, without any need for an explicity compile step.

if you want Java byte code for your Python programs, use Jython.

    http://www.jython.org/

</F>






More information about the Python-list mailing list