RE: .pyc files...
From: Eddie Parker (eddie_at_replicon.com)
Date: 11/16/04
- Next message: Ian Bicking: "Re: Zope 3.0, and why I won't use it"
- Previous message: Peter Otten: "Re: determining the number of output arguments"
- In reply to: Jorgen Grahn: "Re: .pyc files..."
- Next in thread: Mike Meyer: "Re: .pyc files..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "'Jorgen Grahn'" <jgrahn-nntq@algonet.se>, <python-list@python.org> Date: Tue, 16 Nov 2004 11:57:54 -0700
<chuckles> No, I'm not, not always.
Doesn't preclude Cygwin, or http://unxtools.sourceforge.net, however... Some
days I wish Windows was more like Linux.. Some days I wish Linux was more
like Windows.. Ah well, that's the way she goes. :)
Thanks for everyone's help on this. ;) Looks like there might be forward
movement on this, if not just right yet.. Wish I had time to pick up the
patch myself! :)
-e-
[Assuming OP = Original Poster]. :)
-----Original Message-----
From: python-list-bounces+eddie=replicon.com@python.org
[mailto:python-list-bounces+eddie=replicon.com@python.org] On Behalf Of
Jorgen Grahn
Sent: November 16, 2004 11:24 AM
To: python-list@python.org
Subject: Re: .pyc files...
On Sun, 14 Nov 2004 16:48:51 -0600, Mike Meyer <mwm@mired.org> wrote:
> "Simon John" <simoninusa2001@yahoo.co.uk> writes:
>
>> Stephen Waterbury wrote:
>>
>>> > OK, stupid question, but it's been bothering me for ages.. J
>>> >
>>> > I love Python to bits, but .pyc files always litter my source tree,
>> and
>>> > they've always bothered me. ...
>>
>>> One solution (on unices, at least):
>>>
>>> alias cleanpy="find . -name '*.pyc' -exec rm {} ';'"
>> or with backticks: rm -rf `find . -name '*.pyc'`
>
> Better with $(: rm -rf $(find . -name '*.pyc').
Yeah, but then you're bash-specific. Or at least that rules sh, csh and
tcsh.
My weapon of choice would be
find . -name '*.pyc' | xargs rm
but on the other hand .pyc files don't bother me much ...
/Jorgen
(who wonders if the OP really was on a Unix system)
-- // Jorgen Grahn <jgrahn@ Ph'nglui mglw'nafh Cthulhu \X/ algonet.se> R'lyeh wgah'nagl fhtagn! -- http://mail.python.org/mailman/listinfo/python-list --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.788 / Virus Database: 533 - Release Date: 01/11/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.788 / Virus Database: 533 - Release Date: 01/11/2004
- Next message: Ian Bicking: "Re: Zope 3.0, and why I won't use it"
- Previous message: Peter Otten: "Re: determining the number of output arguments"
- In reply to: Jorgen Grahn: "Re: .pyc files..."
- Next in thread: Mike Meyer: "Re: .pyc files..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|