[Tutor] How to replace instances

2008-09-25 Thread Steve Collins
I've written a save/load function for a simple program using cPickle. Upon saving, a master list, to which all instances are added in their __init__, is pickled. when the program starts, if the user wishes to load, a variable "load" is set to one, and the pickled list is loaded. All the classes eit

Re: [Tutor] How to replace instances

2008-09-25 Thread Steve Collins
On 9/25/08, Kent Johnson <[EMAIL PROTECTED]> wrote: > On Thu, Sep 25, 2008 at 4:24 AM, Steve Collins <[EMAIL PROTECTED]> > wrote: > >> However, some of the instances refer explicitly to other instances >> instances. It's obvious why this causes problems. It o