I trying to print out a dictionary in Python:
Dictionary = {\"Forename\":\"Paul\",\"Surname\":\"Dinh\"} for Key,Value in Dictionary.iteritems(): print Key,
This may meet your need better:
Dictionary = {"Forename":"Paul","Surname":"Dinh"} KeyList = ["Forename", "Surname"] for Key in KeyList: print Key,"=",Dictionary[Key]