[Python] Python vs. Perl
Dec 11, 2004 at 4:48 pm
I am just starting to use Python. Does Python have all the regular
expression features of Perl?
Is Python missing any features available in Perl?
: I can't vouch for "all", but the Python reference manual for the "re" module (http://docs.python.org/lib/module-re.html) says, "This module provides regular expression matching operations similar to those found in Perl". Are you talking specifically about regex, or about the language in general? If the latter, then the answer is "Yes, and this is a Good Thing". If you meant the former, then I suspect the answer is that anything you can do with a Perl regex you can also do with a Python regex.
Christopher De Vries
: Roy Smith already touched on regular expressions, but as far as features go, I would say that the real difference between python and perl is not in the features, but in the philosophy. It seems to me that any program you can write in python could also be written in perl. What it comes down to for me was which language most fit the way I tend to think. I decided python was that language, and I found everything very intuitive. I have a good friend who thinks in perl and is very productive using
: To help aid in this discussion, the following Python and Perl philosophy links might be useful: http://c2.com/cgi/wiki?PythonPhilosophy http://www.maths.adelaide.edu.au/~cmc/tutorials/perlintro/x175.html Now, so that I don't start another Python vs. Perl flamewar, I'd like to inform everyone that I'm about to make a few generalizations based on my experience. As should be understood implicitly, one man's experience is not the experience of everyone... As a user of both languages, I've found
SWIG vs. ctypes (Was: ANN: PyEnchant 1.5.0)
Python 3000 vs Perl 6
Python vs. Perl, which is better to learn?
python vs perl performance test
japanese encoding iso-2022-jp in python vs. perl
A few questions
Random passwords generation (Python vs Perl) =)
perl better than python for users with disabilities?
python vs perl lines of code
mbx repair script: Python vs perl
1 of 19
Dec 11, '04 at 4:48p
Dec 16, '04 at 5:31a
13 users in discussion
Keith Dart (5)
Nick Craig-Wood (2)
Michael McGarry (2)
Timo Virkkala (1)
Terry Hancock (1)
Roy Smith (1)
Christopher De Vries (1)
Christos TZOTZIOY Georgiou (1)
Ian Bicking (1)
Jon Perez (1)
Donn Cave (1)
Groups & Organizations
site design / logo © 2022 Grokbase