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)

  

posted @ 2017-11-02 15:15  xiaomogu110  阅读(112)  评论(0编辑  收藏  举报