I'm using Python 3.6 with Spyder in an Anaconda installation. I am trying to learn to manipulate the path that Spyder knows. I went to PYTHONPATH manager, and added /Users/ericauld/Desktop
.
I have a file called Something.txt
on my desktop, and Spyder will recognize it if I say '/Users/ericauld/Desktop/Something.txt'
, but not if I write Something.txt
, even though the path is now supposed to include my desktop.
I tried restarting the kernel, but that didn't change anything.
I'm sure my error is quite elementary. Sorry if this question has already been answered, I haven't found a duplicate.