使用Python模块儿csv快速处理csv文件
import csv
with open('test.csv',newline='') as f:
reader = csv.reader(f)
for row in reader:
print(row)
当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »
import csv
with open('test.csv',newline='') as f:
reader = csv.reader(f)
for row in reader:
print(row)
当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »