csv writerow creates double spaced excel csv files
Skip Montanaro
skip at pobox.com
Fri Feb 13 15:50:19 EST 2004
Michael> For some reason, when I write data to a csv file using the csv
Michael> module of python 2.3 and then open it in excel, every row is
Michael> double spaced. I want the csv file to have every row filled
Michael> with data not every other row. Is there a way I can fix this.
Make sure you open the output file with the 'b'inary flag. The csv writer
class takes care of line termination.
Skip
More information about the Python-list
mailing list