Commit e6bdad7b by BellCodeEditor

auto save

parent 06c01507
Showing with 7 additions and 0 deletions
......@@ -7,3 +7,9 @@ data = [["姓名", "语文", "数学", "英语"],
with open("123.csv","w",encoding = "utf-8",newline = "") as a:
writer = csv.writer(a)
writer.writerow(data)
with open("123.csv","r",encoding = "utf-8") as f:
f_csv = csv.reader(f)
paint(f_csv)
f_csv = list(f_csv)
paint(f_csv)
\ 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