looking for template package

N

Neal Becker

I'm looking for something to do template processing. That is, transform
text making various substitutions. I'd like to be able to do substitutions
that include python expressions, to do arithmetic computations within
substitutions.

I know there are lots of template packages, but most seem aimed at web use.
This is just text processing, not part of any web stuff.

Any suggestions?
 
B

Bruno Desthuilliers

Neal Becker a écrit :
I'm looking for something to do template processing. That is, transform
text making various substitutions. I'd like to be able to do substitutions
that include python expressions, to do arithmetic computations within
substitutions.

I know there are lots of template packages, but most seem aimed at web use.

"most" ? At least 4 of them are just text-based:
- Mako
- Cheetah
- Django's template (can be used standalone)
- Jinja (inspired from Django's)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top