Commit aa1b2339 by BellCodeEditor

save project

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