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

İsmail Dönmez ismail at namtrac.org
Mon Apr 20 11:54:15 CEST 2009


On Mon, Apr 20, 2009 at 12:25 PM, Steven D'Aprano <steve at pearwood.info> wrote:

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.

Checkout http://docs.python.org/using/cmdline.html#envvar-PYTHONDONTWRITEBYTECODE

Regards.

-- İsmail DÖNMEZ



More information about the Python-Dev mailing list