Protecting Source Code

Erik Max Francis max at alcyone.com
Fri May 9 15:40:32 EDT 2003


Cameron Zemek wrote:

> How can I protect my python source code for a commerical application?

You can't.  But, then, you can't really protect your C or C++ source
code in a commercial application, either.  It's just a matter of reverse
engineering.

Shipping only .pyc files would be one way to discourage casual peekers,
but then you'd be tying yourself to a single Python implementation and
version (.pyc files aren't guaranteed stable from version to version)
and garnering some ill will.

The proper way of handling this kind of an issue is through license, not
inconveniencing your users.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ The basis of optimism is sheer terror.
\__/ Oscar Wilde
    Bosskey.net: Aliens vs. Predator 2 / http://www.bosskey.net/avp2/
 A personal guide to Aliens vs. Predator 2.




More information about the Python-list mailing list