Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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.083 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.00; 'subject:files': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'received:209.85.210.174': 0.18; 'received:mail- iy0-f174.google.com': 0.18; 'scripting,': 0.23; 'header:In-Reply- To:1': 0.23; 'shell': 0.24; 'windows': 0.26; 'mainly': 0.27; 'all,': 0.27; 'message-id:@mail.gmail.com': 0.29; 'recursively': 0.30; 'nov': 0.31; 'pm,': 0.31; 'to:addr:python-list': 0.32; 'done': 0.33; 'done.': 0.34; 'probably': 0.34; 'fri,': 0.36; 'skip:" 10': 0.36; 'but': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; "it's": 0.39; 'why': 0.39; 'subject:: ': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.40; '2011': 0.62; 'ways,': 0.67; 'andrea': 0.84; 'easier!': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=gPS1e98x4jQOau3B5XJrBV3QrBUpCNJv+drzbAOpA5I=; b=OePB83KX+DmuAQlENDVp/YOrETZItzr1xHzfyuofHXHLRuxvzrTjiW08oNBEJC1g5H iILr5QMurljSJ7/rwBpY9vHvcFLc0d3FGg4Bw/uEfm4pUPCL1d+ymgLGGEXDjwF+QGUh U8+n2Yj13uYmUsoRuiiKNAomP6oUjoaGiVxm0= MIME-Version: 1.0 In-Reply-To: <4EB3BFA3.4090802@gmail.com> References: <4EB14D9D.8080309@gmail.com> <11169846.60.1320306575820.JavaMail.geo-discussion-forums@yqiu15> <5204871.568.1320398878314.JavaMail.geo-discussion-forums@yqiu15> <4EB3BFA3.4090802@gmail.com> Date: Fri, 4 Nov 2011 21:39:14 +1100 Subject: Re: leftover pyc files From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1320403157 news.xs4all.nl 6919 [2001:888:2000:d::a6]:57228 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:15334 On Fri, Nov 4, 2011 at 9:34 PM, Andrea Crotti wrote: > Uhm yes it makes sense also to just remove all of them, I don't know why it > was done like this but > probably for "performance" reasons. > > I will try both ways, but I would definitively avoid the shell scripting, > because it's mainly windows > but it has to be multi-platform.. If you're removing them all, you don't need to use a powerful shell. Much much easier! Just recursively del *.pyc and you're done. ChrisA