I have only used pickle a little and I did not see this in the docstring:
Is there anyway to unpickle in reverse order?
It appears the pickling works like a queue.
I execute:
pickle.dump(obj1,file)
pickle.dump(obj2,file)
Then when I go to retrieve:
pickle.load(file) returns obj1
pickle.load(file) returns obj2
I am looking for a quick way to grab the last thing pickled (like a stack
instead).
Thanks in advance,
Frank