473,480 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

csv writerow creates double spaced excel csv files

For some reason, when I write data to a csv file using the csv module of
python 2.3 and then open it in excel, every row is double spaced. I want
the csv file to have every row filled with data not every other row. Is
there a way I can fix this. I am using csv.writerow(data) and
csv.writerows(data) functions, both write rows every other row when I open
it in excel.
Example:
1 asdflkjfa
2
3 fjsdkfjoijef
4
5 asdlfkjsdf

Thanks in advance.
Michael

__________________________________________________ _______________
Find great local high-speed Internet access value at the MSN High-Speed
Marketplace. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/
Jul 18 '05 #1
0 2123

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
6513
by: kjm | last post by:
Hi Everyone, I am trying to port some old MatLab code to python, and am stuck on how to accomplish something. I am trying to write a generalized function that will create a linearly spaced...
5
6071
by: DAVID SCHULMAN | last post by:
I've been trying to perform a calculation that has been running into an underflow (insufficient precision) problem in Microsoft Excel, which calculates using at most 15 significant digits. For this...
0
1181
by: Sam Hwang | last post by:
When an Excel xls file is shown in a winform, I can not open another xls file by double click on it in the explorer. The following are the scenarios: 1. Follows the like below to build an c#...
6
1419
by: VB Programmer | last post by:
When edit a page in page-layout, if you hit the <ENTER> button it always seems double spaced. If I want the controls/text to be closer together do I have to make them rows of a table and size them...
7
1396
by: al | last post by:
Greetings, I have just finished packaging and deploying winapp. Packing went fine and so did the deplo. However, I have noticed that there are two files, not one, that were created by VB.NET....
1
2710
by: desi.american | last post by:
I have a dynamically generates ASPX page with tables and data. Depending on user selection, the same page can be viewed as a simple web page (rendered in HTML) or as an excel spreadsheet. If the...
116
35652
by: Dilip | last post by:
Recently in our code, I ran into a situation where were stuffing a float inside a double. The precision was extended automatically because of that. To make a long story short, this caused...
3
2233
by: Dave | last post by:
I have a simple little database with name data. I want the user when they double click the name in the database, for a file to open up automatically which is stored in the C Drive say, I don't want...
2
5171
by: cendter | last post by:
Hi there, I am utterly confused - I have a form that starts an instance from excel and let's the user select a range. I then want to take this range as an array of doubles. I ran into trouble...
0
7048
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6911
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7050
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7091
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
6966
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5344
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
2988
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1303
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.