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
%% escapes the % symbol. So basically you just have to write:
%%
%
"%s %%s %s" % ('foo', 'bar') # "foo %s bar"
And if ever you need to output a percentage or something:
>>> "%s %s %%%s" % ('foo', 'bar', '10') 'foo bar %10'