Files actually exists, yet Python shows "no such file or directory" despite using absolute path

Question:

As can be seen in the following snippets, I have been trying to open a file in Python, the file actually exists, and I am using absolute (not relative) path in the code. Yet, as can be seen this stragne error message (no such file or directory) keeps poping up annoyingly.

Any ideas?

Files actually exist

Yet a strange error message keeps poping up

Asked By: Joseph_Marzbani

||

Answers:

You typed E.str when you meant E.srt.

Answered By: Luke Borowy

Typo:

the file you are trying to open is E.srt but the path in the error message says E.str

Answered By: Caleb Bunch
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.