s = '{foo} {bar}'
s.format(foo='FOO', bar='{bar}')
from: https://stackoverflow.com/questions/11283961/partial-string-formatting
No comments:
Post a Comment