String manipulation

Alexander Schmolck a.schmolck at gmail.com
Wed Apr 4 11:46:37 EDT 2007


Alexander Schmolck <a.schmolck at gmail.com> 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



More information about the Python-list mailing list