title: How to advance a for loop by 2 iterations?
body: <p>I'm reading a large text file and I need to read a number from a specific line. The file looks like this:</p>
  
  <pre><code>....
  unknown number of lines
  ....
  ABCD
  some random stuff
  a number I want to read
  ....
  ....
  </code></pre>
  
  <p>I want to read the number from the line that is 2 lines after a "signature" line that's <code>ABCD</code>, which is unique. Right now what I'm doing is:</p>
  
  <pre><code>with open(filename,'r') as f:
    for line in f:
      if line.rstrip('\n') == 'ABCD':
        continue
  </code></pre>
  
  <p>But the <code>continue</code> only advances the for loop by 1 iteration. So, how can I make it to advance one more iteration to get the line I actually need?</p>