Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ execute
Function
execute
recipes/Python/440641_Custom_Made_CGI_Module/recipe-440641.py:1–5 ·
view source on GitHub ↗
(function, exception)
Source
from the content-addressed store, hash-verified
1
def
execute(function, exception):
2
if
string == exception:
3
self()
4
else
:
5
function()
6
7
def
html(string):
8
print
'Content-Type: text/html\n\n'
+ string
Callers
nothing calls this directly
Calls
2
self
Function · 0.85
function
Function · 0.50
Tested by
no test coverage detected