Converting Unicode to integer

Nikola Plejic zweistein at net.hr
Tue Aug 27 05:06:41 EDT 2002


Is it possible to convert an Unicode string to an integer? I'm working
on a program in AnyGUI and it seems to make everything in TextLabels
an Unicode string, and if I try to add i.e. 2 numbers (let's say 2 and
3) I get 23 instead of 5.

I tried using int() but that doesn't seem to work.

Thanks for your help!



More information about the Python-list mailing list