html template system?

Richie Hindle richie at
Mon Sep 16 07:35:36 EDT 2002

> what are good templating systems avaliable for python?
> [...] i want a smaller footprint system.

PyMeld is one option.  It focusses on keeping the code in Python and
the HTML in HTML - it doesn't mix HTML and Python.  This means that
the HTML is editable in any HTML editor, potentially by a
non-programmer, and the programmer then manipulates the HTML using
pure Python code.  PyMeld wraps your HTML in a Pythonic object model,
with which you can change the text, add/remove/change tags and tag
attributes, clone pieces of HTML, change them and write them back in
again, and so on.

PyMeld is a single Python module of about 20KB - see for example usage, manual and download.

Richie Hindle
richie at

More information about the Python-list mailing list