my_dict = {"fst": 1, "snd": 2} "formatted string {f}{snd}".format(**my_dict)