Return lines in file that match string

Travis Kirstine traviskirstine at gmail.com
Tue Oct 28 14:37:44 EDT 2008


I am new to python and could use some help with a fairly easy task.  I
would like to return all lines in a file that have the string
'<coordinates>' to a list.

Regards,

-- 
Travis K.

Toronto, Canada
------------------------------------------------------------
"She knows there's no success like failure
And that failure's no success at all."
-Bob Dylan-
------------------------------------------------------------



More information about the Python-list mailing list