def python_query(cmd, path):
    return exec_shell_cmd('python -c "%s"' % cmd, path).splitlines()[0]
Execute Python command using the Python interpreter located in *path*
dataset/ETHPy150Open winpython/winpython/winpython/utils.py/python_query