anything in python to aid generation of html for CGI?
Steve Holden
sholden at holdenweb.com
Fri Jun 4 09:13:45 EDT 2004
Alex Hunsley wrote:
> I'm using python to write a CGI script. I'm using a single script to
> both present a form and to interpret the results, hence sometimes the
> code has to output html for the form. Are there any 'shortcuts' in
> python for outputting html? I'm thinking along the lines of perl's cgi
> podule, which allows you to write things like:
>
> print p;
>
>
> which would output "<p>", and so on...
>
> thanks
> alex
>
Basically, take your pick from the many listed under templating at
http://www.python.org/cgi-bin/moinmoin/WebProgramming
regards
Steve
More information about the Python-list
mailing list