Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44681

Re: pycache directories

Newsgroups comp.lang.python
Date 2013-05-03 11:54 -0700
References <841fcc01-df05-4a8b-8b4f-1217c49aac44@googlegroups.com>
Message-ID <dabbde1c-3a07-461f-ab81-e09e5a57810b@googlegroups.com> (permalink)
Subject Re: pycache directories
From jorvis@gmail.com

Show all headers | View raw


I agree, this would be a good feature.  I redirect my emacs backups to a single directory too so that they're not distributed all over the file system.  While I don't know how to do that with the things python creates, I've read a few ways you can disable their creation altogether (assuming you don't care or need the benefit of their use):

You can run python with -B or set the environmental variable PYTHONDONTWRITEBYTECODE=1

For fun, lots of developer discussion about its original creation here:

http://www.gossamer-threads.com/lists/python/dev/815510

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: pycache directories jorvis@gmail.com - 2013-05-03 11:54 -0700

csiph-web