Python serialization – Why pickle?
Pickling is a way to convert a python object (list, dict, etc.) into a character stream. The idea is that this character stream contains all the information necessary to reconstruct the object in another python script. As for where the pickled information is stored, usually one would do: with open(‘filename’, ‘wb’) as f: var = … Read more