[Python-Dev] Re: PEP 292 and templating (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Wed Dec 10 03:34:47 EST 2003
- Previous message: [Python-Dev] PEP 292 and templating
- Next message: [Python-Dev] Greetings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Raymond Hettinger wrote:
The first would be Barry's simple substitutions using only $name or ${name} for templates exposed to the user.
The second would extend the first with Cheetah style dotted names for more advanced templates controlled by the programmer.
time for a "retools" module, perhaps?
some code snippets to consider:
http://www.effbot.org/zone/re-sub.htm http://www.effbot.org/zone/template-language.htm
a collection of "cookbook REs" would also be nice. any takers?
- Previous message: [Python-Dev] PEP 292 and templating
- Next message: [Python-Dev] Greetings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]