Marc 'BlackJack' Rintsch ha escrito:

> In <[EMAIL PROTECTED]>, Gabriel
> Genellina wrote:
>
> > elif uniList[0].isdigit():
>
> The last does not work.  Not only that it accepts numbers greater than 9
> because it checks if the whole string consists of digits, it also accepts
> u'²₂' and other unicode digits.

Oh, I didn't know that last part! Thanks.
I get a bit confused by the [0], thinking it was checking a single
character.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to