Skip to content

Can't open file in VS Code but it works on CMD #125

Answered by ofajardo
VictorValar asked this question in Q&A
Discussion options

You must be logged in to vote

In the command line you are doing cd into the working folder where the sav file is, thats why python finds it.

In Vscode you are in another folder when executing, thats why it cannot find it.

When opening the sav file, give the full path (r'C:\blah\blah\fioe.sav) or, in the Vscode terminal cd into the working folder as you do in CMD

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ofajardo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants