Bart Willems schrieb:
> 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?

python -m py_compile script.py
del script.py

Thomas

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to