python读取csv文件
# coding=utf-8 import csv with open(r"C:\Users\Administrator\Desktop\test1.csv") as csvfile: readCSV = csv.reader(csvfile, delimiter=',') for row in readCSV: print(row)
奋起直追的小蘑菇
# coding=utf-8 import csv with open(r"C:\Users\Administrator\Desktop\test1.csv") as csvfile: readCSV = csv.reader(csvfile, delimiter=',') for row in readCSV: print(row)