D
Drew
Ok, I'm trying to do the simplest read/write from one csv file to
another. For some reason, every other row on the output file is a
blank row. What am I doing wrong?
import csv
reader = csv.reader(open('current.csv'))
writer = csv.writer(open('new.csv','w'))
for line in reader:
writer.writerow(line)
another. For some reason, every other row on the output file is a
blank row. What am I doing wrong?
import csv
reader = csv.reader(open('current.csv'))
writer = csv.writer(open('new.csv','w'))
for line in reader:
writer.writerow(line)