import csv  with open('file.csv', newline='') as f:     reader = csv.reader(f)     data = list(reader)  print(data) 

Read more of this post