I understood that Python pickling is a way to 'store' a Python Object in a way that does respect Object programming - different from an output written in txt file or DB.
Do you have more details or references on the following points:
- where are pickled objects 'stored'?
- why is pickling preserving object representation more than, say, storing in DB?
- can I retrieve pickled objects from one Python shell session to another?
- do you have significant examples when serialization is useful?
- does serialization with pickle imply data 'compression'?
In other words, I am looking for a doc on pickling - Python.doc explains how to implement pickle but seems not dive into details about use and necessity of serialization.