当我卷曲到API调用链接时http://example.com/passkey=wedsmdjsjmdd
curl 'http://example.com/passkey=wedsmdjsjmdd'
我以csv文件格式获取员工输出数据,例如:
"Steve","421","0","421","2","","","","","","","","","421","0","421","2"
如何使用python解析。
我试过了:
import csv
cr = csv.reader(open('http://example.com/passkey=wedsmdjsjmdd',"rb"))
for row in cr:
print row
但它不起作用,我出现了一个错误
http://example.com/passkey=wedsmdjsjmdd No such file or directory:
谢谢!