Commit 7574e569 by BellCodeEditor

save project

parent 3faf4b37
Showing with 15 additions and 2 deletions
"""读取csv文件""""
\ No newline at end of file
"""读取csv文件"""
import csv
a = []
b = []
with open('report.csv','r',encoding='utf-8',newline='') as x:
f = csv.reader(x)
f = list(f)
for i in range(1,8):
a.append(f[i][3])
for i in range(1,9):
b.append(f[7][i])
print(a,b)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment