hb = []
h = open("your_file.csv","r",encoding = "utf-8")
data = h.read()
#print(type(data))
rows = data.split("\n") # 数据切分,以换行(“\n”)为基准,形成一个list,每一行记录为一个元素
#print(rows[0],type(rows))
for row in rows:
split_row = row.split(",") # 数据切分,每一行记录中,元素直接以(“,”)为分界,每个记录为一个元素
hb.append(split_row)
#print(hb)
print(len(hb))
print(hb[-1])
wp = []
for i in hb:
#print(i,type(i),len(i))
#print(i[-1])
wp.append(i[6])
print(wp)
h.close()