simple parsing help
Steve
steve551979 at hotmail.com
Sat Jul 24 13:32:32 EDT 2004
Hi,
I have a string that looks kinda like "Winner (121,10) blah blah blah
Winner (10,400) blah blah Winner (103,4) blah blah..."
I just want to extract the coordinate parts of the string (xxx,xxx)
which could be 1-3 characters and put them into an array ideally.
What is the easiest way to do this in Python? Can anyone provide a
simple line or two of code to help me get started?
Thanks very much,
Steve
More information about the Python-list
mailing list