Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #15329
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <tartley@tartley.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'svn': 0.04; 'option,': 0.07; 'sadly': 0.07; 'skipping': 0.07; 'wrapper': 0.07; 'python': 0.08; 'bash': 0.09; 'deletes': 0.09; 'reply- to:addr:comp.lang.python': 0.09; 'subject:files': 0.09; 'to:addr:comp.lang.python': 0.09; 'files.': 0.09; 'cc:addr:python- list': 0.15; 'from:addr:tartley': 0.16; 'from:addr:tartley.com': 0.16; 'from:name:jonathan hartley': 0.16; 'takes,': 0.16; 'cc:no real name:2**0': 0.21; 'asked': 0.22; 'header:In-Reply-To:1': 0.23; 'shell': 0.24; 'checkout': 0.25; 'guess': 0.25; 'fine': 0.26; 'windows': 0.26; 'received:209.85.220': 0.27; 'specifically': 0.27; 'script': 0.28; 'delay': 0.28; 'cc:addr:python.org': 0.29; 'does': 0.32; "can't": 0.32; 'someone': 0.33; 'this.': 0.33; 'operating': 0.33; 'header:User- Agent:1': 0.33; 'on,': 0.33; 'install': 0.34; 'largest': 0.34; 'file': 0.36; 'cc:2**1': 0.36; 'but': 0.37; 'could': 0.38; 'received:google.com': 0.38; 'some': 0.38; 'received:209.85': 0.38; 'url:en': 0.38; 'why': 0.39; 'subject:: ': 0.39; 'delete': 0.40; 'files': 0.40; 'received:209': 0.40; 'your': 0.61; 'kind': 0.62; 'human': 0.63; 'saw': 0.67; 'header:Reply-To:1': 0.70; 'reply-to:no real name:2**0': 0.71; 'reply- to:addr:googlegroups.com': 0.73 |
| Newsgroups | comp.lang.python |
| Date | Fri, 4 Nov 2011 02:27:58 -0700 (PDT) |
| In-Reply-To | <mailman.2409.1320342902.27778.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=94.170.71.168; posting-account=p0hmcAoAAABcd-yUxQUlUJWkP4UextqO |
| References | <4EB14D9D.8080309@gmail.com> <j8rm4k$fvl$1@dough.gmane.org> <mailman.2385.1320248748.27778.python-list@python.org> <11169846.60.1320306575820.JavaMail.geo-discussion-forums@yqiu15> <j8tro3$pj0$1@dough.gmane.org> <mailman.2409.1320342902.27778.python-list@python.org> |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| MIME-Version | 1.0 |
| Subject | Re: leftover pyc files |
| From | Jonathan Hartley <tartley@tartley.com> |
| To | comp.lang.python@googlegroups.com |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | python-list@python.org, Peter Otten <__peter__@web.de> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| Reply-To | comp.lang.python@googlegroups.com |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Message-ID | <mailman.2425.1320398887.27778.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1320398887 news.xs4all.nl 6844 [2001:888:2000:d::a6]:51462 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:15329 |
Show key headers only | View raw
I like to install a Bash shell of some kind on windows boxes I work on, specifically so I can use shell commands like this, just like on any other operating system. Cywin works just fine for this. svn also has hooks, but sadly not a checkout hook: http://svnbook.red-bean.com/en/1.1/ch05s02.html I guess you could write your own two-line wrapper script which does the checkout and then deletes the pyc files. I don't understand why deleting only some pyc files is important. Can't you just delete them all and let Python re generate the ones you need? I once saw someone create the longest python file they could to see how long generating pyc files takes, and it is very very quick indeed. A human could not notice the delay even for the largest of projects. Finally, someone asked about skipping .svn dirs: find has a '-prune' option, you can read about it on the manpage.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: leftover pyc files Andrea Crotti <andrea.crotti.0@gmail.com> - 2011-11-02 15:45 +0000
Re: leftover pyc files Jonathan Hartley <tartley@tartley.com> - 2011-11-03 00:49 -0700
Re: leftover pyc files Jonathan Hartley <tartley@tartley.com> - 2011-11-03 00:50 -0700
Re: leftover pyc files Jonathan Hartley <tartley@tartley.com> - 2011-11-03 00:50 -0700
Re: leftover pyc files Jonathan Hartley <tartley@tartley.com> - 2011-11-03 01:45 -0700
Re: leftover pyc files Jonathan Hartley <tartley@tartley.com> - 2011-11-03 01:45 -0700
Re: leftover pyc files Jonathan Hartley <tartley@tartley.com> - 2011-11-03 00:49 -0700
Re: leftover pyc files Peter Otten <__peter__@web.de> - 2011-11-03 11:51 +0100
Re: leftover pyc files Andrea Crotti <andrea.crotti.0@gmail.com> - 2011-11-03 17:54 +0000
Re: leftover pyc files Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-11-04 06:48 +0000
Re: leftover pyc files Jonathan Hartley <tartley@tartley.com> - 2011-11-04 02:27 -0700
Re: leftover pyc files Andrea Crotti <andrea.crotti.0@gmail.com> - 2011-11-04 10:34 +0000
Re: leftover pyc files Chris Angelico <rosuav@gmail.com> - 2011-11-04 21:39 +1100
Re: leftover pyc files 88888 Dihedral <dihedral88888@googlemail.com> - 2011-11-04 06:31 -0700
Re: leftover pyc files 88888 Dihedral <dihedral88888@googlemail.com> - 2011-11-04 06:31 -0700
Re: leftover pyc files Andrea Crotti <andrea.crotti.0@gmail.com> - 2011-11-04 11:00 +0000
Re: leftover pyc files Terry Reedy <tjreedy@udel.edu> - 2011-11-04 16:01 -0400
Re: leftover pyc files Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-11-04 23:15 +0000
Re: leftover pyc files Jonathan Hartley <tartley@tartley.com> - 2011-11-04 02:27 -0700
Re: leftover pyc files Jonathan Hartley <tartley@tartley.com> - 2011-11-04 02:29 -0700
Re: leftover pyc files Chris Angelico <rosuav@gmail.com> - 2011-11-04 08:36 +1100
Re: leftover pyc files David Robinow <drobinow@gmail.com> - 2011-11-03 20:14 -0400
csiph-web