Re: Problems with extra blank line when using csv.writer in Python 3.1

2010-04-27 Thread Terry Reedy
On 4/27/2010 9:05 AM, tkp...@hotmail.com wrote: I’m experiencing a problem with the csv module in Python 3.1.2, and would greatly appreciate any help anyone can offer me. When writing csv files in Python 2.6, I open the output file as 'wb' to prevent a blank line being inserted after every line.

Re: Problems with extra blank line when using csv.writer in Python 3.1

2010-04-27 Thread tkp...@hotmail.com
Worked like a charm! Thank you very much. -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems with extra blank line when using csv.writer in Python 3.1

2010-04-27 Thread Peter Otten
tkp...@hotmail.com wrote: > I’m experiencing a problem with the csv module in Python 3.1.2, and > would greatly appreciate any help anyone can offer me. When writing > csv files in Python 2.6, I open the output file as 'wb' to prevent a > blank line being inserted after every line. Works like a ch

Problems with extra blank line when using csv.writer in Python 3.1

2010-04-27 Thread tkp...@hotmail.com
I’m experiencing a problem with the csv module in Python 3.1.2, and would greatly appreciate any help anyone can offer me. When writing csv files in Python 2.6, I open the output file as 'wb' to prevent a blank line being inserted after every line. Works like a charm. But I get an error if I do the