[Tutor] Generating simple HTML from within Python

Kent Johnson kent37 at tds.net
Thu May 10 20:50:09 CEST 2007

Duncan Gibson wrote:

> I've been searching for a module to allow simple HTML generation, but
> most of them appear to be more concerned with *parsing* HTML and XML.
> The only one that looks promising from reviews dating back to 1998 or
> so is HTMLgen, but the link on starship.python.net appears long dead.
> So my question is, what is the preferred way of generating simple HTML
> or XHTML files these days? Is there a 'son of HTMLgen' or similar module?

There are many options. Here is a starting point:

Some discussion of HTMLGen (and an offer of a zip file) here:


More information about the Tutor mailing list