I have question about vscode, venv and code runner
My setting looks like:
"python.pythonPath": "/Library/Frameworks/Python.framework/Versions/3.8/bin/python3"
"code-runner.executorMap": { "python": "$pythonPath -u $fullFileName " }
as select interpreter I use ./venv/bin/python
and on Terminal everything works
but ctrl+alt+N in OUTPUT I get: /bin/sh: /Users/me/Documents/Visual: No such file or directory
and should be
/Users/me/Documents/Visual Studio Code/MyProject/venv/bin/python
when I change to /Users/me/Documents/VisualStudioCode/MyProject/venv/bin/python it works!!!
Is possible to configure python to use full path with spaces???
Thanks a lot
Tomasz
PS
what mean here -u?
("$pythonPath -u $fullFileName ")
" "or' 'or you have to use \ before every space in name. BTW: Spaces always made problem in path and filename so older programmes never used spaces in names. The same problem made native chars - ąęść.python --helpand you will see what means-u' 'in"$pythonPath -u '$fullFileName'"or\" \"in"$pythonPath -u \"$fullFileName\""