Technical Answer - Protecting code in python

Bart Willems b.r.willems at gmail.com
Thu Mar 22 13:04:04 EDT 2007


Aaah, *now* we're getting somewhere... :-)

>> All he wants is something that turns 'readable, 
>> changeable python' into 'unreadable, immutable python'.
> 
> chown scriptuser script.py  # a unique user
> chmod a-rwx script.py
> chmod u+rx script.py
> 
> I believe that fully meets the functional requirements. Where shall I send
> the invoice?

If it works on the target machine - I am under the assumption that the 
client is some kind of government office - more likely to run Windows 
than it is to run unix/linux/etc.

Who has a similar solution for windows?



More information about the Python-list mailing list