MCPcopy Create free account
hub / github.com/Fadi002/de4py / execute_python_file

Method execute_python_file

de4py/de4py_api/api.py:137–142  ·  view source on GitHub ↗
(self, file_path: str)

Source from the content-addressed store, hash-verified

135 return filename
136
137 def execute_python_file(self, file_path: str) -> bool:
138 if self.PYSHELL_HANDLE is None:
139 return False
140 self._is_pid_alive(self.process_pid)
141 self._write_to_pipe("ExecPY||" + file_path)
142 return True
143
144 def remove_exit_function(self) -> bool:
145 if self.PYSHELL_HANDLE is None:

Callers 1

pyshell_tabFunction · 0.95

Calls 2

_is_pid_aliveMethod · 0.95
_write_to_pipeMethod · 0.95

Tested by

no test coverage detected