Commit a638de73 by BellCodeEditor

save project

parent 3e3886af
Showing with 12 additions and 3 deletions
"""读取csv文件"""" """读取csv文件"""
import csv import csv
with open("report.csv",) with open("report.csv","r",encoding="utf-8") as f:
\ No newline at end of file f_csv = csv.reader(f)
f_csv = list(f)
print(f_csv[7])
print("英语"," ",f_csv[1][10],f_csv[1][10]," ",f_csv[2][9],f_csv[2][10],
" ",f_csv[3][9],f_csv[3][10],
" ",f_csv[4][9],f_csv[4][10],
" ",f_csv[5][9],f_csv[5][10],
" ",f_csv[6][9],f_csv[6][10],
" ",f_csv[7][9],f_csv[7][10],sep='')
\ 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