View Single Post
Old 06-25-2010, 02:22 AM   #11
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
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.
itimpi is offline   Reply With Quote