#import necessary modules import csv with open('X:data.csv','rt')as f: data = csv.reader(f) for row in data: print(row)