[Python] template con python

Alessandro Dentella sandro a e-den.it
Mar 2 Nov 2010 11:00:19 CET


On Mon, Nov 01, 2010 at 11:13:06PM +0100, Vittorio Zuccala' wrote:
> buona sera a tutti,
> sto cercando un sistema di template per generare file in LaTeX e HTML con pyhon
> in modo agevole...
> In rete ho trovato Cheetah[1] che mi sembra interessante.

Non ho esperienza di template + LaTeX, ma qualche anno fa ho lavorato un po'
con cheetah ed ho incontrato parecchi problemi (unicode support e template
lookup), ho scritto alla loro mailing list ed uo dei due sviluppatori (Mike
Orr) mi aveva consigliato di cercare qualche template pių moderno
indirizzandomi verso mako (in una mail precedente a quella riportata
sotto). Di sicuro il supporto della mailing list č quasi inesistente.

> On 3/22/07, Sandro Dentella <sandro a e-den.it> wrote:
> > Hi Mike,
> >
> > > If you can't wait I'd say use one of the other template engines so you
> > > can get your project done.
> >
> >   thanks a lot for your time and your hint. I switched off to mako and I
> >   must say that I'm positevly impressed. I could revert all my templates in
> >   not a lot of time and the TemplateLookup is really handy and powerfull.
> 
> I do think Mako has learned from Cheetah's experience.  I just made my
> current Pylons site using Mako, and now I'm trying out Genshi.
> Tavis may disagree but I'm seeing Cheetah as more of a niche & legacy
> product now.


sandro
*:-)

-- 
Sandro Dentella  *:-)
http://www.reteisi.org             Soluzioni libere per le scuole
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy


Maggiori informazioni sulla lista Python