search for a string?
Moshe Zadka
moshez at math.huji.ac.il
Sat Jun 3 04:08:06 EDT 2000
On 1 Jun 2000, Shengquan Liang wrote:
> how do i search for a string in a document
>
> and inseart content of another file before
> that string?
Read the documentation of the string module, and the builtin function
"open".
--
Moshe Zadka <moshez at math.huji.ac.il>
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com
More information about the Python-list
mailing list