Alexander Schmolck <[EMAIL PROTECTED]> writes: > That doesn't work. What about "kindest\nregard"? I think you're best of > reading the whole file in (don't forget to close the files, BTW).
I should have written "that may not always work, depending of whether the set phrases you're interested in can also span lines". If in doubt, it's better to assume they can. 'as -- http://mail.python.org/mailman/listinfo/python-list