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'
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.
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> > __________________________________ >