(if anyone still uses cgilib, in the presence of Django, TG, et al.)... I tried out a simple CGI Python script this week, and was a bit annoyed at the repetitive <HTML>,<HEAD>,<BODY>, etc. opening and closing tags for each request handler method. So I wrote a decorator to handle this junk. It's posted on the Python wiki at http://wiki.python.org/moin/PythonDecoratorLibrary#head-f0d46c66e0a2653daae3f451d32405a283d6759b.
-- Paul -- http://mail.python.org/mailman/listinfo/python-list