coding convention conversion

Steve Lamb grey at
Sun Dec 24 12:26:14 CET 2000

On Sun, 24 Dec 2000 01:29:59 +0000, Garry Knight <garryknight at>
>In article <slrn949c13.40l.grey at> "Steve Lamb"
><grey at> wrote:
>>     Anyone else find it ironic that someone is solving a problem using
>>     Perl in a Python group when the comparable Python would be an
>>     excellent exercise to perform?  :)

>IMHO some languages seem to fit some tasks better than others. Perl is
>designed for just this kind of job. A Python solution would, however,
>be far more readable: I have to look very closely at my Perl code to
>double-check it. On the other hand, the Python solution would probably
>be a fair bit longer.

    How so?  The only part I got stuck on on the Python version was the \l\1
construct in the regular expression.  Aside from that it was not significantly

         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
         ICQ: 5107343          | main connection to the switchboard of souls.

More information about the Python-list mailing list