On Wed, Nov 04, 2009 at 01:25:16PM +0530, Siva Subramanian wrote:
> This only gets me the following output
>
> {'FieldName1': '4', 'FieldName2': '0.00', 'FieldName3':
> '4001433', 'FieldName4': '759'}
>
> 1. How do i access the 4, 0.00, ... the values ?
>>> a= {'FieldName1': '4', 'FieldName2':
Hello all,
I am now trying to access the csv file using dictreader.
import csv
r25 = csv.DictReader(open('Report_
25', 'rb'), delimiter=',')
rownum = 1
for row in r25:
# Save header row.
if rownum == 0:
header = row
else:
colnum = 0
for col in row:
This onl