Simple HTML template engine?

Ivo 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.
> 
>     Ciprian.
> 
> 
> On 10/15/07, 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.
>>
>> 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

I concur completely!
My site http://IvoNet.nl is completely written in python and based on a 
very early release of cherrypy.

gr,
Ivo.



More information about the Python-list mailing list