Comment Comment by sischoel Or use itemgetter: >>> from operator import itemgetter >>> dct = {'greeting': 'hello', 'thing': 'world', 'farewell': 'bye'} >>> thing, greeting = itemgetter("thing", "greeting")(dct) >>> thing 'world' >>> greeting 'hello' parent sischoel 1 year ago