I didn't have the problem with dumping as a string. When I tried to save this object to a file, memory error pops up.
I am sorry for the mention of size for a dictionary. What I meant by 65000X50 is that it has 65000 keys and each key has a list of 50 tuples. I was able to save a dictionary object with 65000 keys and a list of 15-tuple values to a file. But I could not do the same when I have a list of 25-tuple values for 65000 keys. You exmple works just fine on my side. Thank you, Nagu -- http://mail.python.org/mailman/listinfo/python-list