Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.019 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'python3': 0.05; 'read- only': 0.07; '22,': 0.09; 'terry': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'ignore': 0.13; '__pycache__': 0.16; 'reedy': 0.16; 'run.': 0.16; 'wrote:': 0.17; 'written,': 0.17; 'jan': 0.18; 'meant': 0.21; 'fine,': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'run': 0.28; 'code': 0.31; 'running': 0.32; 'directory,': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'doing': 0.35; 'received:209.85': 0.35; 'created': 0.36; 'but': 0.36; 'should': 0.36; 'possible': 0.37; 'option': 0.37; 'being': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'some': 0.38; 'received:209.85.214': 0.39; 'where': 0.40; 'from:no real name:2**0': 0.60; 'needing': 0.62; 'soon': 0.70; '2013': 0.84; 'execution.': 0.84; 'recompile': 0.84; 'touched': 0.84; 'medium.': 0.91 X-Received: by 10.49.1.70 with SMTP id 6mr5168671qek.27.1358898246328; Tue, 22 Jan 2013 15:44:06 -0800 (PST) Newsgroups: comp.lang.python Date: Tue, 22 Jan 2013 15:44:06 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.94.201.224; posting-account=VNK-2woAAABDbQncdlZ46hFSCueBMPjZ References: <841fcc01-df05-4a8b-8b4f-1217c49aac44@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 69.94.201.224 MIME-Version: 1.0 Subject: Re: pycache directories From: monosij.forums@gmail.com To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 42 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1358900809 news.xs4all.nl 6968 [2001:888:2000:d::a6]:58329 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:37383 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