def get_sandbox_python_binary_path(pack=None):
 system_base_path = cfg.CONF.system.base_path
 virtualenv_path = os.path.join(system_base_path, 'virtualenvs', pack)
 if (pack in SYSTEM_PACK_NAMES):
  python_path = sys.executable
 else:
  python_path = os.path.join(virtualenv_path, 'bin/python')
 return python_path

def get_sandbox_python_binary_path ( pack = None ) : system_base_path = cfg . CONF . system . base_path virtualenv_path = os . path . join ( system_base_path , 'virtualenvs' , pack ) if ( pack in SYSTEM_PACK_NAMES ) : python_path = sys . executable else : python_path = os . path . join ( virtualenv_path , 'bin/python' ) return python_path
return path to the python binary for the provided pack .