MCPcopy Create free account
hub / github.com/ActiveState/code / self

Function self

recipes/Python/440641_Custom_Made_CGI_Module/recipe-440641.py:15–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 raise SystemExit(0)
14
15def self():
16 from sys import argv
17 print 'Content-Type: text/plain\n\n' + file(argv[0]).read()
18 raise SystemExit(0)
19
20def export():
21 global string, dictionary, export, decode

Callers 15

f3Method · 0.85
executeFunction · 0.85
recipe-440641.pyFile · 0.85
__eq__Method · 0.85
class_methodMethod · 0.85
strMethod · 0.85
__iter__Method · 0.85
__getattr__Method · 0.85
listfillMethod · 0.85
tablefillMethod · 0.85
rowfillMethod · 0.85
_set_debugMethod · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected