Math with unicode strings?

Tim Roberts timr at probo.com
Wed Apr 4 03:07:26 EDT 2007


"erikcw" <erikwickstrom at gmail.com> wrote:
>
>What do I need to do to extract the intergers from these unicode
>strings (or better yet, parse them as intergers in the first place.).
>I'm using the SAX method attrs.get('cls1',"") to parse the xml.  Can I
>"cast" the string into an interger?

When I see a typo once, I figure it's a typo, but when I see it three
times, I figure it is a misunderstanding.  The word is "integer", not
"interger".
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list