Skip to content

Instantly share code, notes, and snippets.

@ericfourrier
Created July 4, 2015 14:04
Show Gist options
  • Save ericfourrier/9d1372ac22999f7fbbf7 to your computer and use it in GitHub Desktop.
Save ericfourrier/9d1372ac22999f7fbbf7 to your computer and use it in GitHub Desktop.
merge list of python dictionnary
def merge_dict(list_dict):
return dict((k,v) for d in list_dict for (k,v) in d.items())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment