Commit 8c185023 by BellCodeEditor

save project

parent 3faf4b37
Showing with 38 additions and 2 deletions
"""读取csv文件"""" """读取csv文件"""
\ No newline at end of file import csv
with open('report.csv','r',encoding='utf-8') as csvfile:
f_csv=csv.reader(csvfile)
f_csv=list(f_csv)
pi=f_csv[7]
print(pi)
for row in f_csv:
print(row[3])
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