So my problem is this... I have multiple Pickle object files (which are Pickled Dictionaries) and i want to load them all back up, but essentially merge each dictionary into a single larger dictionary.
I have pickle_file1 and pickle_file2 both contain dictionaries. I would like the contents of pickle_file1 and pickle_file2 loaded into my_dict_final.
EDIT As per request here is what i have so far:
for pkl_file in pkl_file_list: pickle_in = open(pkl_file,'rb') my_dict = pickle.load(pickle_in) pickle_in.close()
In essence it works, but just overwrites the contents of my_dict rather than append each pickle object.
Thanks in advance for the help.