Python vs. Perl, which is better to learn?

Mark McEahern marklists at mceahern.com
Tue Apr 30 23:05:58 EDT 2002


[Billy Ng]
> I am also new to python.  I think python will be my replacement of perl.
> However, if I need to do very heavy regular expression, I still
> prefer perl.
> I just don't feel comfortable with the python's re syntax.

I've heard this sentiment expressed before.  I can count on my hands the
number of times I've used Perl--all before I learned about Python--so I'm
largely ignorant of Perl.

Could you give us a concrete example where the use of regular expressions in
Perl is superior to Python?

Thanks,

// mark






More information about the Python-list mailing list