问题:
I am trying to open a CSV file but for some reason python cannot locate it.我正在尝试打开一个 CSV 文件,但由于某种原因 python 无法找到它。
Here is my code (it's just a simple code but I cannot solve the problem):这是我的代码(它只是一个简单的代码,但我无法解决问题):
import csv
with open('address.csv','r') as f:
reader = csv.reader(f)
for row in reader:
print row