On Apr 24, 8:35 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On 25/04/2007 8:27 AM, Drew wrote:
>
> > Ok, I'm trying to do the simplest read/write from one csv file to
> > another. For some reason, every other row on the output file is a
> > blank row. What am I doing wrong?
>
> > import csv
>
> >
On 25/04/2007 8:27 AM, Drew wrote:
> Ok, I'm trying to do the simplest read/write from one csv file to
> another. For some reason, every other row on the output file is a
> blank row. What am I doing wrong?
>
> import csv
>
> reader = csv.reader(open('current.csv'))
> writer = csv.writer(open('ne
Ok, I'm trying to do the simplest read/write from one csv file to
another. For some reason, every other row on the output file is a
blank row. What am I doing wrong?
import csv
reader = csv.reader(open('current.csv'))
writer = csv.writer(open('new.csv','w'))
for line in reader:
writer.writer