Python read specific lines of text between two strings
I am having trouble getting python to read specific lines. What i'm working on is something like this: lines of data not needed lines of data not needed lines of data not needed -------------------------------------- ***** REPORT 1 ***** -------------------------------------- [key] lines of interest are here [key] lines of interest are here [key] lines of interest are here [key] lines of interest are here [key] lines of interest are here #This can also be the EOF -------------------------------------- ***** REPORT 2 ***** -------------------------------------- lines of data not needed lines of