title: csv.Error: iterator should return strings, not bytes
body: <p>Sample.csv contains the following:</p>
  
  <pre><code>NAME    Id   No  Dept
  Tom     1    12   CS
  Hendry  2    35   EC
  Bahamas 3    21   IT
  Frank   4    61   EE
  </code></pre>
  
  <p>And the Python file contains the following code:</p>
  
  <pre><code>import csv
  ifile  = open('sample.csv', "rb")
  read = csv.reader(ifile)
  for row in read :
      print (row) 
  </code></pre>
  
  <p>When I run the above code in Python, I get the following exception:</p>
  
  <blockquote>
    <p>File "csvformat.py", line 4, in 
        for row in read :
    _csv.Error: iterator should return strings, not bytes (did you open the file in text mode?)</p>
  </blockquote>
  
  <p>How can I fix it?</p>