python3读取csv文件
代码如下
import csv with open('D:\\abc\\userinfo.csv',newline='') as f: reader = csv.reader(f) for row in reader: print(row)
代码如下
import csv with open('D:\\abc\\userinfo.csv',newline='') as f: reader = csv.reader(f) for row in reader: print(row)