Simple HTML template engine?

Ciprian Dorin Craciun ciprian.craciun at
Mon Oct 15 10:38:33 CEST 2007

    Have you tried CherryPy?

    It's not a template engine, but a simple web server engine, and
you could code your conditionals and loops directly in Python... When
I have tried it, it looked very nice and easy.


On 10/15/07, allen.fowler <allen.fowler at> 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.
> 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