Simple HTML template engine?

allen.fowler allen.fowler at yahoo.com
Mon Oct 15 20:36:42 EDT 2007


On Oct 15, 1:26 am, John Nagle <na... at animats.com> wrote:
> allen.fowler 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.
>
>      HTMLTemplate is a minimal system for that sort of thing.
> It doesn't drag in some big "framework".
>
>                                         John Nagle


This look exactly like what I need.

Google first led me to the "HTML::Template" perl library.

But now i've got the right one at: http://freespace.virgin.net/hamish.sanderson/htmltemplate.html

Thank you.




More information about the Python-list mailing list