Variables in strings..
Jason Ives
jasonives at hotmail.com
Thu Jul 27 20:16:13 EDT 2000
> 3) It's helpful to create two subclasses of UserDict: one I call
> PartialStringSubstitution that leaves alone any extra %(variable)s tags
> rather than raising a KeyError and another, NoKeyErrors, that replaces
> them with empty strings rather than raising a KeyError. I can post these
> if anyone wants to see them.
I'd love to see these! Sounds like they would help out with some cgi
development I'm doing.
~jason ives
More information about the Python-list
mailing list