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
Tor Erik Sønvisen wrote:
> Hi
>
> Is there any simpler way to convert a unicode numeric to an int than:
>
> int(u'1024'.encode('ascii'))
why doesn't:
int(u'104')
work for you?
--
hilsen/regards Max M, Denmark
http://www.mxm.dk/
IT's Mad Science
--
http://mail.python.org/mailman/lis