title: CSV reader repeatedly reading 1 line
body: <p>I have a <code>csv.reader</code> reading a file, but repeatedly reading the same line.</p>
  
  <pre><code>import csv
  
  with open('mydata.csv', 'rb') as f:
      reader = csv.reader(f)
      reader.next()
      for row in reader:
          while i &lt; 10:
              print row
              i=i+1
  </code></pre>
  
  <p>The code prints the second row (as I want to skip the header) 10 times.</p>