How to protect python code ?

Cameron Laird claird at
Mon Apr 7 18:06:58 CEST 2003

In article <mailman.1049722991.18682.python-list at>,
Dave Brueck  <dave at> wrote:
>adding too much complexity or maintenance costs. Beyond that, the law of
>diminishing returns starts to win because pretty quickly you get into
>guarding against people who are willing to invest large amounts of time
>cracking it or, worse, people who crack for fun.
>Even once you have the source code, there's still enormous work involved
>before you can use it to generate revenue (to create your own knock-off
>product). In the case of protecting the code to protect the revenue stream
>(anti-piracy), you have to realize things like many/most pirates would not
>have purchased your program anyway, your selling price may be too high,
>having your customer relationship depend completely on the product itself
>is a weak position and tough to defend, etc.
Gratuitous factual tangent:  'might surprise folks
how often acquirers of software companies essentially
discard source code.  They want customer lists and
relations, and occasionally the engineering staff,
but existing programs?  Those are nearly valueless.

I exaggerate a bit.  There are indeed legitimate roles
for obfuscating technologies.  Managers think they're
far more common than is true, though, and programmers
far, FAR overestimate the objective value of source
code.  It's one of our occupational hazards.

Dave's right.

Cameron Laird <Cameron at>

More information about the Python-list mailing list