Protect Python Source

Armin Steinhoff a-steinhoff at web.de
Fri Nov 1 11:17:17 EST 2002


"hope" <hope at netlimit.com> wrote in message news:<aptefo$9qu$1 at nobel2.pacific.net.sg>...
> Hi,
> 
> If i am to develop a full fledge commercial application using Python :
> 
> a. Can i compile my python source into binary ? I have read about py2exe for
> windows. Is there one for Linux ?

Not for Linux.

> 
> b. Can I distribute the bytecode only (.pyo, .pyd) and not the source (.py)
> ? Can the bytecode be 'de-compiled' to source ?

Yes it can be de-compiled ... but you can use Pyrex in order to build
C modules out of your critical code modules.

So it's then a little bit harder to de-compile these modules ....

Cheers

Armin
 

> 
> Please advice.
> 
> Cheers,
> Peter



More information about the Python-list mailing list