getting fieldnames from Dictreader before reading lines

Dave Angel davea at davea.name
Sat May 9 19:55:05 EDT 2015


On 05/09/2015 07:01 PM, Vincent Davis wrote:
> Not sure what I was doing wrong, it seems to work now.
>

I still see two significant things wrong:

1) you're top-posting, putting your response  BEFORE the stuff you're 
responding to.

2) both messages are in html, which thoroughly messed up parts of your 
error messages.

>
> On Sat, May 9, 2015 at 4:46 PM, Vincent Davis <vincent at vincentdavis.net>
> wrote:
>
>> I am reading a file with Dictreader and writing a new file. I want use the
>> fieldnames in the Dictwriter from the reader. See below How should I be
>> doing this?


-- 
DaveA



More information about the Python-list mailing list