Python and Regular Expressions

Patrick Maupin pmaupin at
Sun Apr 11 08:29:04 CEST 2010

On Apr 10, 1:05 pm, Stefan Behnel <stefan... at> wrote:

> Running a Python program in CPython eventually boils down to a sequence of
> commands being executed by the CPU. That doesn't mean you should write
> those commands manually, even if you can. It's perfectly ok to write the
> program in Python instead.

Absolutely.  But (as I seem to have posted many times recently) if
somebody asks how to do "x" it may be useful to point out that it
sounds like he really wants "y" and there are already several canned
solutions that do "y", but if he really wants "x", here is how he
should do it, or here is why he will have problems if he attempts to
do it (hint: whether Jamie Zawinski decides to kill a puppy or not is
not really a problem for somebody just asking a programming question
-- that's really up to Jamie).


More information about the Python-list mailing list