One - One Code All

Blog Content

python读取csv文件

Python   2011-11-12 00:00:00

文件读取:

import csv
rows = csv.reader(open('data.file', encoding='utf-8'))
for row in rows:
    print(row)



上一篇:python获取10位和13位时间戳
下一篇:python写csv文件

The minute you think of giving up, think of the reason why you held on so long.