From a72bdf8aaf25583c2ffbd18cbe210d831fc8a18a Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Tue, 2 May 2023 11:18:12 +0800 Subject: [PATCH] save project --- read_csv.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/read_csv.py b/read_csv.py index ca99da3..0dba88b 100644 --- a/read_csv.py +++ b/read_csv.py @@ -1 +1,5 @@ -"""读取csv文件"""" \ No newline at end of file +import csv +with open('report.csv',"r",encoding="utf-8")as f: + f_csv=csv.reader(f) + f_csv=list(f_csv) + print(f_csv[7][1:]) \ No newline at end of file -- libgit2 0.25.0