Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/datacamp/pythonwhat
/ getOptionFromProcess
Function
getOptionFromProcess
pythonwhat/tasks.py:64–65 ·
view source on GitHub ↗
(process, name, shell)
Source
from the content-addressed store, hash-verified
62
# MC
63
@process_task
64
def
getOptionFromProcess(process, name, shell):
65
return
shell.user_ns[name]
66
67
68
# Is a variable is defined in the process?
Callers
1
has_chosen
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected