non-readable source code distribution

Alex Martelli aleax at
Thu Feb 6 10:08:50 CET 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 and
the links to other such projects at the bottom of that page.


More information about the Python-list mailing list