Re: getting fieldnames from Dictreader before reading lines

2015-05-10 Thread Dave Angel
On 05/09/2015 09:51 PM, Vincent Davis wrote: On Sat, May 9, 2015 at 5:55 PM, Dave Angel wrote: 1) you're top-posting, putting your response BEFORE the stuff you're responding to. I responded to my own email, seemed ok to top post on myself saying it was resolved. Yeah, I overreacted. Th

Re: getting fieldnames from Dictreader before reading lines

2015-05-09 Thread Vincent Davis
On Sat, May 9, 2015 at 5:55 PM, Dave Angel wrote: > > 1) you're top-posting, putting your response BEFORE the stuff you're responding to. I responded to my own email, seemed ok to top post on myself saying it was resolved. > > 2) both messages are in html, which thoroughly messed up parts of y

Re: getting fieldnames from Dictreader before reading lines

2015-05-09 Thread Dave Angel
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

Re: getting fieldnames from Dictreader before reading lines

2015-05-09 Thread Vincent Davis
Not sure what I was doing wrong, it seems to work now. Vincent Davis 720-301-3003 On Sat, May 9, 2015 at 4:46 PM, Vincent Davis 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 t

Re: getting fieldnames from Dictreader before reading lines

2015-05-09 Thread Mark Lawrence
On 09/05/2015 23:46, Vincent Davis 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? See how I am using reader.fieldnames in the the Dictwriter. I get an error (below) with open(r

getting fieldnames from Dictreader before reading lines

2015-05-09 Thread Vincent Davis
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? See how I am using reader.fieldnames in the the Dictwriter. I get an error (below) with open(readfile, 'r', encoding='utf-8', errors='igno