On Nov 21, 10:29 am, GZ wrote:
> Hi,
>
> On Nov 21, 7:42 am, ray wrote:
>
>
>
>
>
> > I don't see how to get my data from the output. I can see the data in
> > the rows but it is mixed in with the field names. That is, the data I
> > get comes out as:
> > fieldname1 : data1 , fieldname2 : data2
The point of DictReader is that it produces dicts. If you actually want a
sequence, then use an ordinary csv.reader instead.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
On Nov 21, 7:42 am, ray wrote:
> I don't see how to get my data from the output. I can see the data in
> the rows but it is mixed in with the field names. That is, the data I
> get comes out as:
> fieldname1 : data1 , fieldname2 : data2 , etc.
>
> import csv
> linelist=open( "C:/Users/me/li