I've searched and cannot find how to fix this. I am watching a tutorial and I created a file called "testfile" in notepad. It's a .txt file. When I type
file1 = open("testfile.txt", "r")
in to python I get this error:
FileNotFoundError: [Errno 2] No such file or directory: 'testfile.txt'
What can I do to fix this? Thanks!