How to extract 2 integers from a string in python?

yinglcs at gmail.com yinglcs at gmail.com
Fri Jun 9 06:31:36 CEST 2006


Hi,

how can I extract 2 integers from a string in python?

for example, my source string is this:
Total size: 173233 (371587)

I want to extract the integer 173233 and 371587 from that soource
string, how can I do that?




More information about the Python-list mailing list