Chameleon is an HTML/XML template language compiler written in Python. The distribution comes with a complete template engine: Chameleon Page Templates WWW: http://chameleon.repoze.org/