Recurse all dictionary values
#recursively create a list of all dictionary values def get_list(d,l=[]): for key in d: if isinstance(d[key], dict): l = get_list(d[key], l) else: l.append(key + " - {}".format(d[key],str)) return l
#recursively create a list of all dictionary values def get_list(d,l=[]): for key in d: if isinstance(d[key], dict): l = get_list(d[key], l) else: l.append(key + " - {}".format(d[key],str)) return l