News for hackers. Stuff that matters.
Re:PyFormat – Practical examples of old and new style string... by reidrac on Thursday April 16, 2015 @04:30AM (#9386598)
You can also:

    a = 4
    'A is: %(a)d' % locals()
Perhaps is my experience programming in C, but "format" looks lees familiar and I tend to use the old style formatting.

There are no comments on this comment yet.