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


Groups > comp.lang.python > #37383

Re: pycache directories

Newsgroups comp.lang.python
Date 2013-01-22 15:44 -0800
References <841fcc01-df05-4a8b-8b4f-1217c49aac44@googlegroups.com> <mailman.778.1358834539.2939.python-list@python.org>
Subject Re: pycache directories
From monosij.forums@gmail.com
Message-ID <mailman.847.1358900809.2939.python-list@python.org> (permalink)

Show all headers | View raw


On Tuesday, January 22, 2013 1:01:44 AM UTC-5, Terry Reedy wrote:
> 
> > I am doing some OO python3 where I am using multiple dirs/sub-dirs.
> 
> >
> 
> > So everything works fine, however when I run code __pycache__
> 
> > directories are being created in every directory touched by the
> 
> > execution.
> 
> 
> 
> This is much better than having multiple .pyc files in every directory, 
> 
> as in Py2. You should soon learn to ignore them.
> 
> 
> 
> > Is it possible to set a configuration to be able to create these
> 
> > pycache directories in a specific location?
> 
> 
> 
> No. (I am very sure.) You can however, not have the .pyc files written, 
> 
> but that means recompile with every run. So that option is meant for 
> 
> running off a read-only medium.
> 
> 
> 
> -- 
> 
> Terry Jan Reedy

Thanks Terry. I understand needing to adjust.
Appreciate this forum.

Monosij

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


Thread

pycache directories monosij.forums@gmail.com - 2013-01-21 20:55 -0800
  Re: pycache directories Terry Reedy <tjreedy@udel.edu> - 2013-01-22 01:01 -0500
    Re: pycache directories monosij.forums@gmail.com - 2013-01-22 15:44 -0800
    Re: pycache directories monosij.forums@gmail.com - 2013-01-22 15:44 -0800
  Re: pycache directories jorvis@gmail.com - 2013-05-03 11:54 -0700

csiph-web