Thanks,
Philippe
Sébastien Boisgérault wrote:
> Even
>
> class A:
> pass
>
> should do the trick. Only the instance attributes are saved by a
> pickle,
> not the methods or the class itself. The unpickler tries to merge the
> saved data and the class/method info that is not saved
Even
class A:
pass
should do the trick. Only the instance attributes are saved by a
pickle,
not the methods or the class itself. The unpickler tries to merge the
saved data and the class/method info that is not saved to recreate
the fully functional instance... but of course this info
I confirm that all I have to do in order to successfully load a pickled
object of class A is to declare
class A:
def __init__(self):
pass
Although the object has tons of fields
Quid ?
Regards,
Philippe
Philippe C. Martin wrote:
> Hi,
>
> Shuffling files around in my project,