params = {"Key 1":"value 1", "key 2":"value 2", "key 3":"value 3", "key 4":"value 4"} print params.items() print [k for k, v in params.items()] print [v for k, v in params.items()] print ["%s=%s" % (k, v) for k, v in params.items()]