Thanks Fredrik,
It helped a lot and this is really an amazing this I have discovered
today. :-))
--
http://mail.python.org/mailman/listinfo/python-list
King wrote:
This is a new test for object persistency. I am trying to store the
relationship between instances externally.
It's not working as expected. May be I am doing it in wrong way. Any
suggestions?
The shelve module pickles each stored item individually. To preserve
inter-object relat
King wrote:
This is a new test for object persistency. I am trying to store the
relationship between instances externally.
It's not working as expected. May be I am doing it in wrong way. Any
suggestions?
import shelve
class attrib(object):
pass
class node(object):
def __init__(self):