Python to extract data from a file
Posted
by user297003
on Stack Overflow
See other posts from Stack Overflow
or by user297003
Published on 2010-03-19T00:11:21Z
Indexed on
2010/03/19
5:51 UTC
Read the original article
Hit count: 161
Hi, I am new to python.
I am trying to extract the text between that has specific text file:
----
data1
data1
data1
extractme
----
data2
data2
data2
----
data3
data3
extractme
----
and then dump it to text file so that
----
data1
data1
data1
extractme
---
data3
data3
extractme
---
Thanks for the help.
© Stack Overflow or respective owner