Re: Pickle: several class instance objects in one file?

2008-03-27 Thread Marc 'BlackJack' Rintsch
On Thu, 27 Mar 2008 12:28:25 +, Dominique.Holzwarth wrote: > Lets say I have instances of class A and class B: > > a = A() > b = B() > > Is it possible to pickle both of these instances to the same pkl-file or > will that have any bad impact for unpickle (i.e. the instance are > 'mixed' or '

Pickle: several class instance objects in one file?

2008-03-27 Thread Dominique.Holzwarth
Hi everyone I've never used the module 'pickle' so far, thus I've got some questions about how to use it: Lets say I have instances of class A and class B: a = A() b = B() Is it possible to pickle both of these instances to the same pkl-file or will that have any bad impact for unpickle (i.e.