Jun-24-2018, 02:55 PM
(Jun-24-2018, 01:18 PM)Panda Wrote:(Jun-24-2018, 01:02 AM)Grok_It Wrote: Try this example
Thank you. This worked
Awesome, glad to hear it.
Watch out keeping pickles too long. If you change the structure of the object after pickling, you may not be able to unpickle old copies. To defeat this I've added version numbers as class variables. Then each time I change the object I save the old version in a helper module that unpacks the old version into its correct class and upgrades it.