MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / python_manager_path

Function python_manager_path

mod/project/python/pyenv_tool.py:85–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83
84
85def python_manager_path() -> str:
86 _p = "/www/server/python_manager"
87 if os.path.exists(_p):
88 return os.path.realpath(_p)
89 return _p
90
91
92def pyenv_path() -> str:

Callers 6

list_environmentMethod · 0.90
activate_shellMethod · 0.85
removeMethod · 0.85
can_removeMethod · 0.85
__init__Method · 0.85
multi_remove_envMethod · 0.85

Calls 1

existsMethod · 0.45

Tested by

no test coverage detected