Cheetah best for templating?

Giles Brown giles_brown at hotmail.com
Sun Jan 4 05:02:57 EST 2004


"Roger Jack" <rjack at elegancetech.com> wrote in message news:<CMudnfQnOeIn1GqiRVn-uQ at comcast.com>...
> I have just finished reading Code Generation In Action which uses Ruby for
> code generation. I would like to use Python instead. Is Cheetah the best
> tool to use for templating source code files and then generating code? Is
> there something more mature or better?

I had a project where I wanted to generate some pro*c + C++ database code.
I found that the Python Template Language that comes with Quixote was
very convenient for this purpose, because it avoids needing to learn
another syntax.

Quixote: http://www.mems-exchange.org/software/quixote/
PTL: http://www.mems-exchange.org/software/quixote/doc/PTL.html

Regards,
Giles



More information about the Python-list mailing list