how to convert a PY to a PYC file

Fredrik Lundh fredrik at pythonware.com
Tue Sep 6 07:11:30 EDT 2005


"Chavez Gutierrez, Freddy" wrote:

>I want to distribute a Python application to several computers, but I don't
> want they to be able to see the pure python code (the 'py' file).
>
> Is there a way to generate a 'pyc' file and distribute that only?

sure.  several ways, actually.  see

    http://effbot.org/zone/python-compile.htm

for details.

</F> 






More information about the Python-list mailing list