how to get rid of pyc files ?

Steven D'Aprano steven at REMOVE.THIS.cybersource.com.au
Sun May 24 22:45:10 EDT 2009


On Sun, 24 May 2009 15:01:51 +0200, Stef Mientki wrote:

> Is there a way to prevent generating pyc-files ? 

Put the .py files in a read-only directory.


> Or is there a way to
> redirect the generated pyc-files to a dedicated location ?

No.


> btw, What commandline switches are available for python ? (googling
> didn't give me any relevant hits )

python --help


at the shell (not Python) prompt.



-- 
Steven



More information about the Python-list mailing list