running subprocess with combined cd and pwd
running subprocess with combined cd and pwd Question: I run subprocess in jupyter to get the core path. I have to go one folder up and then call pwd Running: import subprocess mypath=subprocess.run("(cd .. && pwd)") leads to a "No such file or directory: ‘(cd .. && pwd)’ error. I guess the cd calls a …
Total answers: 3