Deleting a block of text
Salman Sheikh
ssheikh at writeme.com
Tue Aug 22 10:05:58 EDT 2000
I have a text file in which I am trying to delete a block of text, from one
text word all the way through another text word (many lines of text with in
between).
How would I do that?
Do I have to create a new file, write output from the input read. Search for
the first marker and then stop writing until after detecting the end marker,
and then start writing again to the output file again?
Is this a good approach? Does anyone have any suggestions or know of any
functions to simplify this?
Salman
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup
More information about the Python-list
mailing list