ref = {"fst": 1, "snd": 2} print "first is {fst}, second is {snd}".format(**ref) "{}".format()