我想从另一个 .py 文件中获取路径名。
我把那个 .py 文件称为
xy=subprocess.check_call(["python","/home/emeks/workspace/ex/ex.py"]) print xy
但是那个打印命令总是打印零 (0) 但我想得到路径名。
我该怎么办
python subprocess
python ×1
subprocess ×1