AnsweredAssumed Answered

Extra rows when a .csv file is opened in Excel.

Question asked by dalejs on Jun 5, 2014
Latest reply on Jun 5, 2014 by jamesfreddyc
Hi, I am on my 4th day of using Python and making a lot of progress.  I am looping through a feature class and writing field data to a .csv file.  It all runs good.  The issue is when I open the .csv file in Excel there is an empty row between each row of data.

When writing a .csv file from there are no empty rows when the file is opened in Excel.  On the file created with Python all the data is there, just all spaced out with an empty row between.

I do not have a spacing character (if there is one) in the .writerow statement.

How can I fix this so there are no empty rows when I open the .csv file in Excel?

Thank you for your time.  Dale,