From d2969679e98ea2c0b54003d42ccf367fba399dc2 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 12 Aug 2023 09:10:22 +0800 Subject: [PATCH] save project --- read_csv.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/read_csv.py b/read_csv.py index ca99da3..6ab4eef 100644 --- a/read_csv.py +++ b/read_csv.py @@ -1 +1,12 @@ -"""读取csv文件"""" \ No newline at end of file +"""读取csv文件""" +import csv +b=1 +with open("report.csv","r",encoding="utf-8") as f: + a=csv.reader(f) + a=list(a) + print(a[7]) +for i in range(len(a)-1): + print(a[b][3]) + b+=1 + + \ No newline at end of file -- libgit2 0.25.0