代码如下:
1 import csv 2 with open('test.csv',newline='') as f: 3 reader = csv.reader(f) 4 for row in reader: 5 print(row)