[Python-Dev] *Simpler* string substitutions

Donald Beaudry Donald Beaudry <donb@abinitio.com>
Thu, 20 Jun 2002 18:50:51 -0400


"Barry Scott" <barry.alan.scott@ntlworld.com> wrote,
> Howabout adding the format inside the {} for example:
> 
>     ${name:format}

Considering that the $ is supposed to be familar to folks who use
other tools, the colon used this way might undo much of that good
will.  On the other hand,

    %{name:format}

might be just the right thing.

--
Donald Beaudry                                     Ab Initio Software Corp.
                                                   201 Spring Street
donb@abinitio.com                                  Lexington, MA 02421
                          ...So much code...