On 2005-09-22, Tor Erik Sønvisen <[EMAIL PROTECTED]> wrote:
> Hi
>
> Is there any simpler way to convert a unicode numeric to an int than:
>
> int(u'1024'.encode('ascii'))

>>> int(u'1024')
1024

Didn't that work for you when you tried it?

-- 
Grant Edwards                   grante             Yow!  FIRST, I'm covering
                                  at               you with OLIVE OIL and
                               visi.com            PRUNE WHIP!!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to