def print_environ(environ=os.environ):
    keys = environ.keys()
    keys.sort()
    print
    print "<H3>Shell Environment:</H3>"
    print "<DL>"
    for key in keys:
        print "<DT>", escape(key), "</DT>"
        print "<DD>", escape(environ[key]), "</DD>"
    print "</DL>"
    print
Dump the shell environment as HTML.
dataset/ETHPy150Open kdart/pycopia/core/pycopia/inet/cgi_test.py/print_environ