📜  遍历 csv python 代码示例

📅  最后修改于: 2022-03-11 14:45:14.664000             🧑  作者: Mango

代码示例1
import csv

filename = 'file.csv'

with open(filename, 'r') as csvfile:
    datareader = csv.reader(csvfile)
    for row in datareader:
        print(row)
COPY