csv 数据

csv数据:逗号分隔值,其文件以纯文本的形式存储表格数据(数据和文本)。csv模块是python的内置模块,须要引用后再使用html csv.reader(csv_file)python #使用with结构 with open("data/data.csv","r”,encoding="utf8") as fp: data=csv.reader(fp) #使用for迭代reader
相关文章
相关标签/搜索