How to solve it when Python's CSV module is so poor that it stumbles.
f = open("data.csv", "ab")
writer = csv.writer(f, quoting=csv.QUOTE_NONE)
Save to CSV without quotes.
f = codecs.open("data.csv", "r", "utf-8")
for line in f:
line = line.rstrip()
l = line.split(",")
hoge = l[0]
print hoge
I managed to solve it.
Recommended Posts