Sum a csv column in python,total = sum(int(r[1]) for r in csv.reader(fin))