Commit 695a943f by BellCodeEditor

auto save

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