How to grab the lines AFTER a matched line in python
- by toofly
Hi All,
I am an amateur using Python on and off for some time now. Sorry if this is a silly question, but I was wondering if anyone knew an easy way to grab a bunch of lines if the format in the input file is like this:
"
Heading 1
Line 1
Line 2
Line 3
Heading 2
Line 1
Line 2
Line 3
"
I won't know how many lines are after each heading,…