Given:
dict = {\"path\": \"/var/blah\"} curr = \"1.1\" prev = \"1.0\"
What\'s the best/shortest way to interpolate the string to generate t
You can try this:
data = {"path": "/var/blah", "curr": "1.1", "prev": "1.0"} s = "path: %(path)s curr: %(curr)s prev: %(prev)s" % data