# coding: utf-8 import csv csvfile = open(‘test.csv‘, ‘rb‘) reader = csv.reader(csvfile) for line in reader: print line csvfile.close()
时间: 2024-10-08 01:35:35
# coding: utf-8 import csv csvfile = open(‘test.csv‘, ‘rb‘) reader = csv.reader(csvfile) for line in reader: print line csvfile.close()