Message83759
If I define a class Foo in module A and in module A pickle out a list of
Foo objects to 'foo.pkl', then in module B attempt to unpickle 'foo.pkl'
I recieve the error "AttributeError: 'module' object has no attribute 'Foo'"
Attached are:
Foo.py which defines the class Foo and pickles out a list of objects
LoadFoo.py attempts to load the list of objects pickled by Foo
I'm running Vista with "Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08)
[MSC v.1310 32 bit (Intel)] on win32" |
|
Date |
User |
Action |
Args |
2009-03-18 17:08:13 | ntroutman | set | recipients:
+ ntroutman |
2009-03-18 17:08:13 | ntroutman | set | messageid: <1237396093.07.0.466180023327.issue5509@psf.upfronthosting.co.za> |
2009-03-18 17:08:11 | ntroutman | link | issue5509 messages |
2009-03-18 17:08:10 | ntroutman | create | |
|