L
Lin Armis
hi all:
In java,there is streamtoken method to deal with input string.
how does the python do this work?
Supposed that input "aa/dd/as/23/a22",I wanna the string "23" change to
int('23'),but how can I tell the diffrent between '23'and 'aa' in the all
strings?in java ,I can use streamtoken to recognize the number type and
string type from input,but i dont know how is in Python.
cheers,
Mian
_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/
In java,there is streamtoken method to deal with input string.
how does the python do this work?
Supposed that input "aa/dd/as/23/a22",I wanna the string "23" change to
int('23'),but how can I tell the diffrent between '23'and 'aa' in the all
strings?in java ,I can use streamtoken to recognize the number type and
string type from input,but i dont know how is in Python.
cheers,
Mian
_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/