Simple HTML template engine?

Adrian Cherry acherry at btinternet.com
Mon Oct 15 03:17:22 EDT 2007


"allen.fowler" <allen.fowler at yahoo.com> wrote in
news:1192419411.895715.138450 at e9g2000prf.googlegroups.com: 

> 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.
> 
> Any ideas?
> 

Did you try Cheetah? I've just started using it for a simple job, 
just looping and conditionals and it seemed quite simple to me.

Adrian




More information about the Python-list mailing list