empy 1.3 -- Embed Python in template text as markup
Erik Max Francis
max at alcyone.com
Sun Aug 25 03:36:53 EDT 2002
Neil Hodgson wrote:
> I currently use a specialised tool for this but feel it may be an
> interesting direction to take a generic template tool in. The template
> needs a way to find the range of the substitution and the definition
> there needs to be a way to hide these using comments from the main
> of the file.
One could certainly perform this kind of thing in empy, but I'm not sure
of how much use it would be. I'm not quite seeing how to integrate such
functionality into a tool unless it was specifically designed for it.
(empy is the arbitrary embedding of Python code in template text, not
for this particular type of macro operation in particular.)
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/ \ There is nothing so subject to the inconstancy of fortune as war.
\__/ Miguel de Cervantes
Church / http://www.alcyone.com/pyos/church/
A lambda calculus explorer in Python.
More information about the Python-list