with open ('taobao.csv','r')as f: data = f.readlines()
时间: 2024-01-27 11:05:47 浏览: 158
python2.x基础教程
This code opens a file named "taobao.csv" in read mode and stores the content of the file in a variable named "data" as a list of strings. Each string in the list represents a line in the file.
阅读全文