Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/datacamp/pythonwhat
/ TaskCaptureOutput
Class
TaskCaptureOutput
pythonwhat/local.py:38–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
37
38
class
TaskCaptureOutput:
39
def
__init__(self, code):
40
self.code = code
41
42
def
__call__(self, shell):
43
return
run_code(shell.run_code, self.code)
44
45
46
class
TaskKillProcess:
Callers
1
run_single_process
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected