COSC Learning Lab

03_interface_shutdown.py

Table of Contents

Documentation


In [ ]:
help('learning_lab.03_interface_shutdown')

Implementation


In [ ]:
from importlib import import_module
script = import_module('learning_lab.03_interface_shutdown')
from inspect import getsource
print(getsource(script.main))

In [ ]:
print(getsource(script.demonstrate))

Execution


In [ ]:
run ../learning_lab/03_interface_shutdown.py

HTTP


In [ ]:
from basics.odl_http import http_history
from basics.http import http_history_to_html
from IPython.core.display import HTML
HTML(http_history_to_html(http_history()))