Hi! it seems that
class Obj: def __init__(self): f=file("obj.dat") self=pickle.load(f) ... doesn't work. Can an object load itself with pickle from a file somehow? What's an easy solution? Anton -- http://mail.python.org/mailman/listinfo/python-list
Hi! it seems that
class Obj: def __init__(self): f=file("obj.dat") self=pickle.load(f) ... doesn't work. Can an object load itself with pickle from a file somehow? What's an easy solution? Anton -- http://mail.python.org/mailman/listinfo/python-list