Quote:
Originally Posted by artisticforge
i am learning why not to use 'canned' routines to save configuration information.
|
the pickle file is just a serialization of a Python object which is why the original class file is needed to make sense of it. The advantage from a developers point of view is that no special code is needed to read/write the configuration information as one simply re-instantiates the original python object.
Exactly the same issue would apply in any language that allow objects to be serialized and then reloaded.