Commit e58ca1fb by BellCodeEditor

save project

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