Commit 4ed3341d by BellCodeEditor

save project

parent ea8858df
Showing with 10 additions and 1 deletions
"""读取csv文件""""
import csv
w=0
with open("report.csv","r",encoding="utf-8",newline='') as csvfile:
q=csv.reader(csvfile)
z=list(q)
for i in range(len(z)-1):
w+=1
e=z[w][3]
print(e)
print(z[7])
\ 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