Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #90250

Re: getting fieldnames from Dictreader before reading lines

Date 2015-05-09 19:55 -0400
From Dave Angel <davea@davea.name>
Subject Re: getting fieldnames from Dictreader before reading lines
References <CALyJZZV8XFjbmiNRYxoAFuGHS2iix4knv-smn5adicVRAJ7ZCg@mail.gmail.com> <CALyJZZVt_X5pYQg+rXmP4CHx9-LizL4vbTQv-7t4ihD5xGqXng@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.295.1431215720.12865.python-list@python.org> (permalink)

Show all headers | View raw


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@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: getting fieldnames from Dictreader before reading lines Dave Angel <davea@davea.name> - 2015-05-09 19:55 -0400

csiph-web