There is a simple, though slightly ugly trick: if the directory where the python module resides, is not writable to the python process, the python runtime will silently ignore .pyc generation (as far as I know). It is not elegant, but it works...
Ivan -------- Original Message -------- From: "Eddy Ilg" <[EMAIL PROTECTED]> To: Subject: suppress pyc generation Date: 25/12/2005 14:01 > Hi, > > I would like to suppress .pyc generation or have the .pyc generation in a > speical seperate root (I found something about PYCROOT). Has this been > implemented yet? Is there an environment variable or a command line switch > that suppresses .pyc generation? > > Eddy > -- http://mail.python.org/mailman/listinfo/python-list