A
Anton81
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
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