MCPcopy Create free account
hub / github.com/modelscope/ms-agent / _get_python_executable

Method _get_python_executable

ms_agent/skill/container.py:593–595  ·  view source on GitHub ↗

Get the Python executable for the current platform.

(self)

Source from the content-addressed store, hash-verified

591 return '', str(e), -1
592
593 def _get_python_executable(self) -> str:
594 """Get the Python executable for the current platform."""
595 return sys.executable
596
597 def _get_shell_executable(self) -> List[str]:
598 """Get the shell executable for the current platform."""

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected