处理CSV文件和JSON文件

处理CSV文件:python 直接上示例吧: json import csv exampleFile = open('example.csv')# 假设csv文件已在工做目录下 exampleReader = csv.reader(exampleFile) print(list(exampleReader)) # 也能够用for循环从Reader对象中读取数据, 每一行都是一个列表。 for ro
相关文章
相关标签/搜索