import pickle

a_dict = {'da':111,2:[1,2,3],3:{1:2,'d':'sad'}}

#file = open('pickle_example.pickle','wb')
#pickle.dump(a_dict,file)
#file.close()

file = open('pickle_example.pickle','rb')
a_dict1 = pickle.load(file)
file.close()
print(a_dict1)


import pickle

a_dict = {'da':111,2:[1,2,3],3:{1:2,'d':'sad'}}

#file = open('pickle_example.pickle','wb')
#pickle.dump(a_dict,file)
#file.close()

file = open('pickle_example.pickle','rb')
a_dict1 = pickle.load(file)
file.close()
print(a_dict1)


#file = open('pickle_example.pickle','wb') #pickle.dump(a_dict,file) #file.close()