Perl is worse!

Steve Lamb grey at despair.rpglink.com
Fri Jul 28 20:52:33 EDT 2000


On Fri, 28 Jul 2000 19:29:52 -0400, Karl Ulbrich <kulbrich at yahoo.com> wrote:
>If they already contained numbers (well, strings of digits), and you were
>certain, then simply:

>	a = int(b)

    As stated, that would work except Python returns a None on a no-match and
None can't be converted.

-- 
         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