RE: .pyc files...

From: Eddie Parker (eddie_at_replicon.com)
Date: 11/16/04


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
 


Relevant Pages

  • Re: Ghost in the Recycle Bin
    ... View and Manage Event Logs in Event Viewer in Windows XP ... >> 1) This will open Scheduled Tasks. ... >>> Outgoing mail is certified Virus Free. ... >>> Checked by AVG anti-virus system. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Web pages access help
    ... I have the linux machine ... > hooked up to a windows 2k network and I have good connectivity between ... Please define "hooked up to a windows 2k network". ... Checked by AVG anti-virus system. ...
    (comp.os.linux.networking)
  • RE: € 500,000,000 fine for Micro$oft.
    ... parts of Windows source/api. ... windows if varous countries impose various restrictions. ... Incoming mail is certified Virus Free. ... Checked by AVG anti-virus system. ...
    (comp.os.vms)
  • RE: [PHP] generating .doc on the fly
    ... You can't use COM in Linux, but you can generate an RTF pretty ... Incoming mail is certified Virus Free. ... Checked by AVG anti-virus system. ...
    (php.general)
  • RE: ¤ 500,000,000 fine for Micro$oft.
    ... Micro$oft will also be ordered to sell Windows without ... Incoming mail is certified Virus Free. ... Checked by AVG anti-virus system. ...
    (comp.os.vms)

Loading