Simple HTML template engine?

Nikita the Spider NikitaTheSpider at gmail.com
Tue Oct 16 02:35:19 CEST 2007


In article <1192419411.895715.138450 at e9g2000prf.googlegroups.com>,
 "allen.fowler" <allen.fowler at yahoo.com> wrote:

> Hello,
> 
> Can anyone recommend a simple python template engine for generating
> HTML that relies only on the Pyhon Core modules?
> 
> No need for caching, template compilation, etc.
> 
> Speed is not a major issue.
> 
> I just need looping and conditionals. Template inheritance would be a
> bonus.
> 
> I've seen Genshi and Cheetah, but they seem way too complex.

I use Spyce, but in addition to being a template system for mixing 
Python & HTML, it is also a Web server which drags in a bunch of extra 
cruft that you don't need. It's what I use to generate static reports, 
though.

Good luck

-- 
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more



More information about the Python-list mailing list