csv writerow creates double spaced excel csv files

Discussion in 'Python' started by Michal Mikolajczyk, Feb 13, 2004.

  1. 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/
     
    Michal Mikolajczyk, Feb 13, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VB Programmer

    HTML seems double-spaced

    VB Programmer, Jun 9, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    4,650
    Kevin Spencer
    Jun 9, 2004
  2. bad_knee
    Replies:
    0
    Views:
    523
    bad_knee
    Jul 13, 2003
  3. bad_knee
    Replies:
    2
    Views:
    552
    bad_knee
    Jul 14, 2003
  4. Sydex
    Replies:
    12
    Views:
    6,505
    Victor Bazarov
    Feb 17, 2005
  5. Skip Montanaro
    Replies:
    0
    Views:
    722
    Skip Montanaro
    Feb 13, 2004
Loading...

Share This Page