by abus · 12y ago · 0 comments
This works fine, as does the corresponding writer:
reader = csv.reader(open(FILENAME, 'rb'))
for row in reader:
print row
If you want a unicode string it's as simple as: value = row[0].decode('utf8')
Then before writing: row[0] = value.encode('utf8')No comments yet.