"shelve" save object

hypermonkey2 jonmosco at gmail.com
Sat Aug 9 15:32:41 EDT 2008


Hi there!
I am using the "shelve" module in a script to save information in
between runtime sessions of the program. (its a sort of
data collector, so its important to hold on to anything computed  ).
In any case, I shelve into a file "test.txt". I notice that when i try
running the program on a different computer (by either emailing or
transfering the file "test.txt" via USB key), the program is unable to
load the shelve file.
What can I do to fix this? It would be a great shame to see that after
collecting all this information and shelving it that I cannot move to
another computer or share the information through the "save.txt" file.

Thanks in advance!
Jon



More information about the Python-list mailing list