Decorator for use with cgilib

P

Paul McGuire

Paul McGuire said:
(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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top