In “User Settings”, use the search bar to look for “python.terminal.executeInFileDir” and set (=) its value to “true” instead of “false”.
In “User Settings”, use the search bar to look for “python.terminal.executeInFileDir” and set (=) its value to “true” instead of “false”.