0
how to extract data betwen two stings from a file and store extracted data into another file using python script
3 odpowiedzi
+ 1
Could you please provide an example?
+ 1
assume that a txt file containing data as below
line1
start
line2
line3
line4
end
line5
now i want to extract data between "start" and "end" strings from the file and save the data into new file... can any one write the code......?
+ 1
thank u it's working.... u did a great job