Lire CSV comme liste Python
import csv
with open('file.csv', newline='') as f:
reader = csv.reader(f)
data = list(reader)
print(data)
Gubo97000
import csv
with open('file.csv', newline='') as f:
reader = csv.reader(f)
data = list(reader)
print(data)
open('file.csv', 'r').read().splitlines() #assuming you want each row to be an individual element in the list