human
I wrote the below code

    global maxlen
    print 'Content-type:    text/html'
    print
    sys.stderr = sys.stdout
    try:
        form = FieldStorage()
        print_directory()
        print_arguments()
        print_form(form)
        print_environ(environ)
        print_environ_usage()
        def f():
            exec 'testing    print_exception()    --    <I>italics?</I>'
        def g(f=f):
            f()
        print '<H3>What    follows    is    a    test,    not    an    actual    exception:</H3>'
        g()
    except:
        print_exception()
    print '<H1>Second    try    with    a    small    maxlen...</H1>'
    maxlen = 50
    try:
        form = FieldStorage()
        print_directory()
        print_arguments()
        print_form(form)
        print_environ(environ)
    except:
        print_exception()

What's a good function header?
assistant
#Here is Python program to print 'Content-type:    text/html'
.

def test(environ=os.environ):