title: How to get the output of a second consecutive for-loop within a with-block, within which a .csv file is read?
body: <pre><code>from csv import reader    
  with open('tsble.csv', 'r') as r:
              rows = reader(r)
              for row in rows:
                  print(row)
              print("Second print\n")
              for r in rows:
                  print(r)
  </code></pre>
  
  <p>The output of the second for loop in the above python-with-block is not coming. How to get outputs from two or more consecutive for-loops within a block.</p>