RE: .pyc files...

Discussion in 'Python' started by Eddie Parker, Nov 16, 2004.

  1. Eddie Parker

    Eddie Parker Guest

    <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=
    [mailto:python-list-bounces+eddie=] On Behalf Of
    Jorgen Grahn
    Sent: November 16, 2004 11:24 AM
    To:
    Subject: Re: .pyc files...

    On Sun, 14 Nov 2004 16:48:51 -0600, Mike Meyer <> wrote:
    > "Simon John" <> 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
     
    Eddie Parker, Nov 16, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rim
    Replies:
    8
    Views:
    988
  2. Ladvánszky Károly

    pyc files

    Ladvánszky Károly, Feb 3, 2004, in forum: Python
    Replies:
    3
    Views:
    410
    Rene Pijlman
    Feb 3, 2004
  3. Tony C
    Replies:
    2
    Views:
    302
    Robert M. Emmons
    Feb 13, 2004
  4. MarkV

    #! shbang for pyc files?

    MarkV, Jun 5, 2004, in forum: Python
    Replies:
    5
    Views:
    484
    Fredrik Lundh
    Jun 5, 2004
  5. Mircescu Andrei
    Replies:
    3
    Views:
    134
    Mircescu Andrei
    Feb 20, 2014
Loading...

Share This Page