SHARE
TWEET

Untitled

a guest Mar 21st, 2017 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import csv
  2. import codecs
  3.  
  4. with codecs.open("Untitled 1.csv", 'rU') as csvfile:
  5.     ibm_csv_iterate = csv.reader(csvfile, delimiter='t', quoting=csv.QUOTE_ALL)
  6.     for i in ibm_csv_iterate:
  7.         print i
  8.    
  9. mark    style   non
  10. vis pass    noun
  11.    
  12. Traceback (most recent call last):
  13.   File "test_tab.py", line 6, in <module>
  14.     for i in ibm_csv_iterate:
  15. _csv.Error: line contains NULL byte
RAW Paste Data
Top