non-readable source code distribution

Alex Martelli aleax at aleax.it
Thu Feb 6 04:08:50 EST 2003


Sam Marrocco wrote:

> So in "distributing" a python application to people, is there a way to
> obfuscate or compile the .py file into something that isn't quite as
> readable as a text file? I realize that it may be decompil-able (or
> something like that), but I don't want casual users altering the code.
> 
> Can Python code in several modules be "assembled" into a single,
> non-readable file for execution?

Yes, see http://starship.python.net/crew/theller/py2exe/ and
the links to other such projects at the bottom of that page.


Alex





More information about the Python-list mailing list