1.I am new to coding and I store all my python code in:
C:\Users\(MyName)\Documents\Python Scripts
2.I made a txt file in notepad (list.txt) and stored it in the same location
3.I want to read the file so in Spyder:
file = open('list.txt', 'r')
print(file.read())
file.close()
4.I get an error
FileNotFoundError: [Errno 2] No such file or directory: 'list.txt'
5.Where am I supposed to store my txt file? And how do I read it?