Flatten a dictionary of dictionaries (2 levels deep) of lists in Python,[x for d in thedict.values() for alist in d.values() for x in alist]