[Python-Dev] Something like PEP-0304 - suppress *.pyc generation (original) (raw)

Steven D'Aprano steve at pearwood.info
Mon Apr 20 11:25:24 CEST 2009


On Mon, 20 Apr 2009 04:54:15 pm christian.doll at basf.com wrote:

I need something to suppress the generation of *.pyc files because i have very much different machines which call a python program at same time.

This list is for development of Python, not development with Python. You would probably be better off on comp.lang.python or python-list at python.org.

However, I believe that the normal way to prevent the generation of .pyc files is to remove write access to the directory where the .py files are.

-- Steven D'Aprano



More information about the Python-Dev mailing list