May 2019
Beginner
528 pages
29h 51m
English
pickle Serialization and DeserializationThe Python Standard Library’s pickle module can serialize objects into in a Python-specific data format. Caution: The Python documentation provides the following warnings about pickle:
“Pickle files can be hacked. If you receive a raw pickle file over the network, don’t trust it! It could have malicious code in it, that would run arbitrary Python when you try to de-pickle it. However, if you are doing your own pickle writing and reading, you’re safe (provided no one else has access to the pickle file, of course.)”6
“Pickle is a protocol which allows the serialization of arbitrarily complex Python objects. As such, it is specific to Python ...
Read now
Unlock full access