extract all keys from a list of dictionaries `lod`,[i for s in [list(d.keys()) for d in LoD] for i in s]