string interpolation for python

Steven D'Aprano steve+comp.lang.python at pearwood.info
Mon Apr 2 04:25:20 EDT 2012


On Mon, 02 Apr 2012 17:52:33 +1000, Chris Angelico wrote:

> I'm -1 on the idea, mainly because there are already two perfectly good
> string interpolation syntaxes that don't require a new kind of string.

Three.

% formatting
{} formatting
$ formatting using string.Template



-- 
Steven



More information about the Python-list mailing list