anything in python to aid generation of html for CGI?

Larry Bates lbates at swamisoft.com
Thu Jun 3 11:56:51 EDT 2004


htmlgen is quite good and robust.

http://starship.python.net/crew/friedrich/HTMLgen/html/main.html

Larry Bates
Syscon, Inc.

"Alex Hunsley" <lard at tardis.ed.ac.molar.uk> wrote in message
news:10bug71ngfup8d2 at corp.supernews.com...
> 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
>





More information about the Python-list mailing list