Simple HTML template engine?
ivonet at gmail.com
Mon Oct 15 15:00:26 CEST 2007
Ciprian Dorin Craciun wrote:
> Have you tried CherryPy? http://www.cherrypy.org/
> 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 yahoo.com> wrote:
>> 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
>> 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,
I concur completely!
My site http://IvoNet.nl is completely written in python and based on a
very early release of cherrypy.
More information about the Python-list