I am trying to build a format string with lazy argument, eg I need smth like:
\"%s \\%s %s\" % (\'foo\', \'bar\') # \"foo %s bar\"
how can
Just use a second percentage symbol.
In [17]: '%s %%s %s' % ('foo', 'bar') Out[17]: 'foo %s bar'