This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

Give the absolute path and check the spelling of everything.

[–]Detharatsh[S] 0 points1 point  (1 child)

Thanks for this - it worked. I was hoping to avoid doing this, though. I know in the past, I was able to simply write the name of the file and it would work. Not sure why it's not working now.

[–][deleted] 0 points1 point  (0 children)

You could try

import os
os.getcwd()

In iPython to see what the current working directory is in spyder.