Convert from unicode to int

Tor Erik Sønvisen tores at stud.cs.uit.no
Thu Sep 22 09:38:11 EDT 2005


Hi

Is there any simpler way to convert a unicode numeric to an int than:

int(u'1024'.encode('ascii'))

??

regards tores 





More information about the Python-list mailing list