This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: "excel" csv option generates multiple lines
Type: Stage:
Components: Extension Modules Versions: Python 2.5
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: laxrulz777, skip.montanaro
Priority: normal Keywords:

Created on 2008-04-15 17:38 by laxrulz777, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
unnamed laxrulz777, 2008-04-16 18:30
Messages (3)
msg65523 - (view) Author: Jeff Hall (laxrulz777) Date: 2008-04-15 17:38
Current: csv.py indicates lineterminator = '\r\n'
Issue: looks fine in notepad but when pulled into excel (office 2003)
extra lines are added
Resolution: should read lineterminator = '\r'
msg65534 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2008-04-15 23:40
What platform are you on?  Did you open the output file in
binary mode?  I sort of suspect you failed to add 'b' to the
file mode and are getting a text file.
msg65562 - (view) Author: Jeff Hall (laxrulz777) Date: 2008-04-16 18:30
you're absolutely correct, i apologize.

On Tue, Apr 15, 2008 at 7:40 PM, Skip Montanaro <report@bugs.python.org>
wrote:

>
> Skip Montanaro <skip@pobox.com> added the comment:
>
> What platform are you on?  Did you open the output file in
> binary mode?  I sort of suspect you failed to add 'b' to the
> file mode and are getting a text file.
>
> ----------
> nosy: +skip.montanaro
>
> __________________________________
> Tracker <report@bugs.python.org>
> <http://bugs.python.org/issue2640>
> __________________________________
>
History
Date User Action Args
2022-04-11 14:56:33adminsetgithub: 46892
2008-04-16 20:01:03skip.montanarosetstatus: open -> closed
resolution: not a bug
2008-04-16 18:30:59laxrulz777setfiles: + unnamed
messages: + msg65562
2008-04-15 23:40:10skip.montanarosetnosy: + skip.montanaro
messages: + msg65534
2008-04-15 17:38:58laxrulz777create