How to protect python code ?
Graham Fawcett
graham__fawcett at hotmail.com
Thu Apr 3 12:25:23 EST 2003
christophe grimault <christophe.grimault at novagrid.com> wrote in message news:<3E8BE455.4000904 at novagrid.com>...
>
> An other way is to move some parts to a C API ext module and deliver
> only the .so,
> but this is quite time consuming ...
You might also consider Pyrex, which could let you write the sensitive
stuff in nearly-Python. Pyrex will translate into C for you, then
compile your module into an .so.
Extracting and decompiling Python code from a binary created with
McMillan installer/py2exe/etc. is a pretty trivial task, in the sense
that there are tools that will do the work for you, and give you in
return a near-letter-perfect copy of your original source.
I recommend reading Alex Martelli's respose to a similar inquirer a
while back:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=3mrw9.71925%24TD1.3188780%40news2.tin.it
-- Graham
More information about the Python-list
mailing list