Need advice performing a search

Kia Arab karab at
Tue Apr 25 21:58:38 CEST 2000

I am trying to search a file for two strings. If *either* string is
found, I need the line in which the string was found to be returned  (or
somehow extract the line). It should keep searching and keep returning
the lines where it finds either string, until the end of file is

Any suggestions?

More information about the Python-list mailing list