If I have this:
>>> templ = "{aa} fd3443fds {bb} 543gfdgf {cc}"
>>> d1 = {"aa": "this is aa", "bb": "this is bb33", "cc": "this is cc5222"}
What's the easiest way to replace the values in {} in templ
with the corresponding values in "d1", preferably using the function "format" of String?