Python – FileNotFoundError: [Erro 2] There is no such
one hundred and fifty-two
See English answer> Python open() gives IOError: Errno 2 No such file or directory ???????????????????????????????????? 3 I tried to open a CSV file, but for some reason python couldn't find it This is my code (it's just a simple code, but I can't solve the problem):
import csv with open('address.csv','r') as f: reader = csv.reader(f) for row in reader: print row
This article is written by Contributors Author, article address: https://blog.isoyu.com/archives/python-filenotfounderrorerrno-2meiyouzheyangde.html
use Knowledge Sharing Attribution 4.0 International License Agreement. Unless the reprint/source is indicated, they are all original or translated by this website. Please sign your name before reprinting. Last editing time: September 18, 2019 at 10:55 pm