my code which it has the error
file_path = “C:/Users/user/Desktop/”
filename = “Extremely.Wicked.Shockingly.txt”
the error is
File “C:UsersuserPycharmProjectstranslationtranslatortranslate.py”, line 13, in
with open(os.path.join(file_path, “Extremely.Wicked.Shockingly.srt”), “r”) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘C:/Users/user/Desktop/Extremely.Wicked.Shockingly.srt’
sara mohebtash is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.