Mega Code Archive
Categories
/
Python
/
Dictionary
Reference dictionary in print function
print "%(n)d %(x)s" % {"n":1, "x":"spam"}