This is not a question about coding, but the terminal. I have never had this problem before, but when I try to execute a script following by the file name to be executed, the terminal gives me the error message "no such file or directory 'a'" when the file name I entered is alphabet.txt. It does this regardless of the file, if I enter file beta.txt it can't find file or directory "b".
Has this happened to someone before?
Clarification: I have a python script, script.py, which takes a file as an argument, so I type: python script.py alphabet.txt in the terminal and it gives me the error message "nos such file or directory 'a'"
It was my script that was wrong, I was iterating over the letters of the file name as opposed to several files...