Compile C program -> .pyc file

Fredrik Lundh fredrik at pythonware.com
Fri Oct 21 11:25:52 EDT 2005


"Ernesto" wrote:

> Is there a way to compile a C program into a .pyc file that has the
> same behavior as the compiled C program?

unless you find a C->Python compiler, no.  PYC files contain Python bytecode,
C compilers usually generate native code for a given machine platform.

</F> 






More information about the Python-list mailing list