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