I'm writing a python script where I need to open a ".txt" folder and analyse the text in there.
I have saved this ".txt" document in the same folder as my Python script.
But, when I go to open the file; file = open("words.txt",'r')
I get the error: No such file or directory: 'words.txt'.
I don't understand why this is happening?