Open cohhi opened 1 year ago
折腾了两个小时,艹
import csv
def readFile():
data = csv.reader(open('test.csv', encoding='utf-8'))
next(data)
dataList = []
for i in data:
dataList.append(i)
return dataList
print(*readFile()) #打印时解包