Decorator for use with cgilib

Paul McGuire ptmcg at austin.rr._bogus_.com
Mon Jul 31 19:58:48 EDT 2006


"Paul McGuire" <ptmcg at austin.rr._bogus_.com> wrote in message
news:%Lwzg.35491$Cn6.19340 at tornado.texas.rr.com...
> (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
>
>
Duh, that is to say, "for use with the cgi module."  There is no cgilib.

-- Paul





More information about the Python-list mailing list