using csv dictreader in python

2009-11-04 Thread Siva Subramanian
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

python compare and process a csv file

2009-11-04 Thread Siva Subramanian
Hello all, nbsp; I am new on this list and computer programming nbsp; I have two distinct statistical files (both csv) 1.nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; Report_2_5 – this is a report dump containing over a 10 million records and is different every day 2.nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;