pure aesthetic question

Alex Martelli aleax at aleax.it
Sun May 18 18:34:22 EDT 2003


Helmut Jarausch wrote:
   ...
> as far as I understand, it compiles the script each time
> it's invoked?

Yes, the main script always IS recompiled each and every
time.  Only IMPORTED modules are compiled-to-disk.

> Furthermore, though not important in my case, the script
> not just the bytecode, is freely readable to anyone who
> is allowed to invoke it?

Yes.  For both reasons one normally makes a tiny main
script that does just about nothing more than importing
the "real" one which does all the work.


Alex




More information about the Python-list mailing list