I would apply the following code for list of dictionaries :
x = {'a': 1, 'b': 2}
y = {'b': 3, 'c': 4}
z = {**x, **y} # get z= {'a': 1, 'b': 3, 'c': 4} (without duplicated keys)
I create a list (List_Dict) of several dictionaries stored like:
List_Dict[0] = {'a': 1, 'b': 2}
List_Dict[1] = {'c': 3, 'a': 4}
List_Dict[2] = {'b': 1, 'c': 2}
... ... ... ... ...
List_Dict[5000] = {'d': 3, 'a': 4}
the list contains 5000 dictionaries
I ask if there is any simple method for typing between bracket the whole elements (5000) dynamically for applying this instruction:
z = {**List_Dict[0],**List_Dict[1],**List_Dict[2] ....,**List_Dict[5000]}