We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

What module should I use to help with generating HTML?

There are many different modules available:

  • HTMLgen is a class library of objects corresponding to all the HTML 3.2 markup tags. It’s used when you are writing in Python and wish to synthesize HTML pages for generating a web or for CGI forms, etc.
  • DocumentTemplate and Zope Page Templates are two different systems that are part of Zope.
  • Quixote’s PTL uses Python syntax to assemble strings of text.

Consult the Web Programming topic guide for links and more alternatives.

CATEGORY: library