Ben Finney <[EMAIL PROTECTED]> wrote: > "ts-dev" <[EMAIL PROTECTED]> writes: > > > Is it possible to prevent modification of a python file once its been > > deployed? > > Prevent modification by whom? > > You can't prevent modification by the person who owns the > machine. It's in their possession, and presumably it's out of yours; > they can do whatever they like.
Hmmm -- if the file is deployed on read-only media it might be possible to prevent modification. Of course, one could COPY it to read-write media, and modify the copy, but that would still entirely satisfy the requirement of "preventing modification of the file" as stated. Alex -- http://mail.python.org/mailman/listinfo/python-list