title: read encoding excel file in python 3
body: <p>Hi there I want help with this :</p>
  
  <pre><code>xlsfile = 'D:\\example.cvs'
  txtfile = 'D:\\A2.txt'
  
  
  v= codecs.open(txtfile, 'r','utf-8').read()
  v=word_tokenize(v)
      #v = f.read().split('\n')
  
  new_v = list(v)
  #wb = codecs.openpyxl.load_workbook(xlsfile,'r', encoding="utf-8")
  
  wb = open('D:\\AA.csv','r', encoding='utf-8').read()
  reader=csv.reader(wb)
  #ws = wb.active
  for cells in reader.rows:
      val = cells[0].value
      if val in v:
          index = v.index(val)
          new_v[index] = cells[1].value
  
  f=codecs.open(txtfile, 'w','utf-8')
  f.write(' '.join(new_v))
  </code></pre>
  
  <p><strong>I got Error:</strong></p>
  
  <pre><code> for cells in reader.rows:
   AttributeError: '_csv.reader' object has no attribute 'rows'
  </code></pre>