title: Extract a part from a file between specific lines
body: <p>I would like to know, how can I extract some data from a specific range in a big data file? Is there a way to read the content beginning and ending with "buzzwords".</p>
  
  <p>I would like to read line per line between <code>*NODE</code> and <code>**</code></p>
  
  <pre><code>*NODE
  13021145,       2637.6073002472617,       55.011929824413045,        206.0394346892517
  13021146,       2637.6051226039867,        55.21115693303926,       206.05686503802065
  13021147,        2634.226986419154,        54.98263035830583,        205.9520084547658
  13021148,        2634.224808775879,       55.181857466932044,       205.96943880353476
  **
  </code></pre>
  
  <p>Before <code>*NODE</code> and after <code>**</code> there are thousand of lines...</p>
  
  <p>I know it should look something similar like:</p>
  
  <pre><code>a = []
  
  with open('file.txt') as file:
     for line in file:
        if line.startswith('*NODE'):
  
        # NOW THERE SHOULD FOLLOW SOMETHING LIKE:
        #   Go to next line and "a.append" till there comes the "magical"
        #   "**"
  </code></pre>
  
  <p>Any idea? I am totally new to python. Thanks for help!
  I hope u know what i mean.</p>