String parsing

HMS Surprise john at datavoiceint.com
Wed May 9 10:46:22 EDT 2007


BTW, here's what I used, the other ideas have been squirreled away in
my neat tricks and methods folder.

	for el in data.splitlines():
		if el.find('LastUpdated') <> -1:
			s = el.split("=")[-1].split('"')[1]
			print 's:', s


Thanks again,

jh




More information about the Python-list mailing list