vscode python workding directory
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File (Integrated Terminal)",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"cwd": "${fileDirname}"
},
// my launch.json file was auto-generated by VS Code
// in the directory of my current "Open Project".
// I just edited the file manually to add "cwd": "${fileDirname}"
}