To bookend some of the better parts of the development process, the following is a demonstration of python3 serialization and deserialization that should be useful to you.

#coding=utf-8
import pickle
aa={}
aa["title"] ="I'm a good person."
aa["num"]=2
t=pickle.dumps(aa)Serialize the dictionary
print(t)
f=pickle.loads(t)# deserialize, restore the original state
print(f)
                                
                        

                
                
            

            
                




Copy the code