I think this is what you are looking for. Note: In Python 2.x
I take the single string, strip the outer whitespace, the split the values on whitespace or commas. That yields this array, which you can loop over in groups to get values.
['-80.82581786107986', '39.83903198141125', '0', '-80.82377033116026', '39.83364133601582', '0', '-80.82356083750963', '39.82911201506083', '0', '-80.82285757569279', '39.82686138006091', '0']
import re
l = [' -80.82581786107986,39.83903198141125,0 -80.82377033116026,39.83364133601582,0 -80.82356083750963,39.82911201506083,0',
'-80.82285757569279,39.82686138006091,0 -80.82211394716366,39.82370641582035,0 -80.82079041778377,39.82101855094219,0',
' -80.82008287730855,39.84462640578131,0 -80.82581786107986,39.83903198141125,0']
for s in l:
parts = map(float, re.split(r'[,\s+]', s.strip()))
lats = []
longs = []
for i in range(0, len(parts), 3):
long = parts[i]
lat = parts[i+1]
longs.append(long)
lats.append(lat)
print min(lats), min(longs)
Output
39.8291120151 -80.8258178611
39.8210185509 -80.8228575757
39.8390319814 -80.8258178611