Why does Python Say No such file or directory?
Answer
Most likely, the problem is that you’re using a relative file path to open the file, but the current working directory isn’t set to what you think it is. … Relative file paths are always relative to the current working directory, and the current working directory doesn’t have to be the location of your python script.
Answer
Most likely, the problem is that you’re using a relative file path to open the file, but the current working directory isn’t set to what you think it is. … Relative file paths are always relative to the current working directory, and the current working directory doesn’t have to be the location of your python script.