.pyc files...
Reinhold Birkenfeld
reinhold-birkenfeld-nospam at wolke7.net
Sun Nov 14 09:39:53 EST 2004
Simon John wrote:
> 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'`
Beware of spaces in filenames!
Reinhold
--
[Windows ist wie] die Bahn: Man muss sich um nichts kuemmern, zahlt fuer
jede Kleinigkeit einen Aufpreis, der Service ist mies, Fremde koennen
jederzeit einsteigen, es ist unflexibel und zu allen anderen Verkehrs-
mitteln inkompatibel. -- Florian Diesch in dcoulm
More information about the Python-list
mailing list