python compare and process a csv file

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

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 onl