for loop to perform calculation on each row in csv file python code example
Example: system to extract data from csv file in python
#import necessary modules
import csv
with open('X:\data.csv','rt')as f:
data = csv.reader(f)
for row in data:
print(row)