Python: extracting multiple strings between 2 known strings in a text file
<p>I really need help and just can't figure this out. Yes, I am new to Python.</p>

<p>I have a text file that has repetitive information. It has a Subj. line, then junk lines, then numbered lines 1-9 with subsequent text. This repeats 100 or more times in the file. Line "6. Summary:" has text in the string, then is followed by stings A - <em>n</em> that I need. However, I do not need line 7, but I do need line 8. With a <code>for</code> block and an <code>if 'Subj' in line</code> statement, I can get everything, except grabbing the A-n and skipping 7.</p>

<p>How do I write Lines 1-6 plus A-n, then skip 7, and write 8, and do this for all the repetitions?</p>
