Re: [perl-python] 20050127 traverse a dir

2005-01-29 Thread Jeremy Bowers
On Thu, 27 Jan 2005 15:01:12 -0500, Chris Mattern wrote: > Is it just me, or is the disappointing lack of flamewars > slowly ratcheting up the level of vitriol in his posts? What flabbergasts me is the stunning failure in trolling that XL is. I've accidentally trolled (if you can extend the trol

Re: [perl-python] 20050127 traverse a dir

2005-01-28 Thread Abigail
Skip Montanaro ([EMAIL PROTECTED]) wrote on CLXVIII September MCMXCIII in news:[EMAIL PROTECTED]>: __ __ abigail> @@ No. Second, learn Python. Third, learn Perl (optional). :) __ __ abigail> Just leave the third option out. Let him learn Python. We don't __ abigail> want him

Re: [perl-python] 20050127 traverse a dir

2005-01-28 Thread Skip Montanaro
abigail> @@ No. Second, learn Python. Third, learn Perl (optional). :) abigail> Just leave the third option out. Let him learn Python. We don't abigail> want him. ;-) We don't want him either. Perhaps we can persuade him to learn INTERCAL... Skip -- http://mail.python.org/mailman

Re: [perl-python] 20050127 traverse a dir

2005-01-28 Thread Abigail
Timo Virkkala ([EMAIL PROTECTED]) wrote on CLXVIII September MCMXCIII in news:[EMAIL PROTECTED]>: @@ The Flow wrote: @@ > Do you want to be taken seriously? @@ > First, stop posting. @@ > Second, learn perl. @@ > Third, learn python. @@ @@ No. Second, learn Python. Third, learn Perl (option

Re: [perl-python] 20050127 traverse a dir

2005-01-27 Thread Jürgen Exner
Xah Lee wrote: [...] > [long rant about Perl modules snipped] > > # And because the way it is > # written, Yeah, indeed, you correctly identified the root of the problems. If you would have written your Perl program in a normal way instead of in your cryptic wretched style then you would not have

Re: [perl-python] 20050127 traverse a dir

2005-01-27 Thread The Flow
Sorry about that... (I forgot what he was trying to teach) Thanks for the clarification -- The Flow -- http://mail.python.org/mailman/listinfo/python-list

Re: [perl-python] 20050127 traverse a dir

2005-01-27 Thread Timo Virkkala
The Flow wrote: Do you want to be taken seriously? First, stop posting. Second, learn perl. Third, learn python. No. Second, learn Python. Third, learn Perl (optional). :) But we do agree on the first. -- Timo Virkkala -- http://mail.python.org/mailman/listinfo/python-list

Re: [perl-python] 20050127 traverse a dir

2005-01-27 Thread The Flow
Xah Lee, Do you want to be taken seriously? First, stop posting. Second, learn perl. Third, learn python. -- http://mail.python.org/mailman/listinfo/python-list

Re: [perl-python] 20050127 traverse a dir

2005-01-27 Thread Chris Mattern
Xah Lee wrote: > > # the above showcases a quick hack. > # File::Find is one of the worst module > # there is in Perl. One cannot use it > # with a recursive (so-called) "filter" > # function. And because the way it is > # written, one cannot make the filter > # function purely functional. (it r

[perl-python] 20050127 traverse a dir

2005-01-27 Thread Xah Lee
# -*- coding: utf-8 -*- # Python suppose you want to walk into a directory, say, to apply a string replacement to all html files. The os.path.walk() rises for the occasion. © import os © mydir= '/Users/t/Documents/unix_cilre/python' © def myfun(s1, s2, s3): © print s2 # current dir © pr