Simple HTML template engine?

Jack nospam at invalid.com
Tue Oct 16 23:39:08 EDT 2007


This one is really small and simple (one small file):

http://davidbau.com/archives/2007/02/18/python_templates.html

"allen.fowler" <allen.fowler at yahoo.com> wrote in message 
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?
>
> I'm sure I could build something myself, but I'm sure this has already
> been done quite a few times.  Why re-invent the wheel, right?
>
>
> Thank you,
> Allen
> 





More information about the Python-list mailing list