title: reading csv file without for
body: <p>I need to read a CSV file in python.</p>
  
  <p>Since for last row I receive a 'NULL byte' error I would like to avoid using for keyword but the while.</p>
  
  <p>Do you know how to do that?</p>
  
  <pre>
      reader = csv.reader( file )
      for row in reader  # I have an error at this line
            # do whatever with row
  </pre>
  
  <p>I want to substitute the for-loop with a while-loop so that I can check if the row is NULL or not.</p>
  
  <p>What is the function for reading a single row in the CSV module?
  Thanks</p>
  
  <p>Thanks</p>
  
  <p>p.S. below the traceback</p>
  
  <pre>
  Traceback (most recent call last):
    File "FetchNeuro_TodayTrades.py", line 189, in 
      for row in reader:
  _csv.Error: line contains NULL byte
  </pre>