Let users execute but not view
lvrk at yahoo.com
Mon Jan 5 01:00:03 CET 2004
Check this link from Python's programming FAQ to create compiled
code from .py files:
The "dis" module can be used to disassemble and examine this byte
creating a .pyc file should suffice your requirements.
Florian Lindner <Florian.Lindner at xgm.de> wrote in message news:<bt9o11$7rq$05$1 at news.t-online.com>...
> I have a python script which should be executed my normal users but they
> should not be able to view the sourcecode. Setting permissions to x only
> does not help, the python interpreter can not read the file.
> How can I do that?
More information about the Python-list