I have used the two below functions in my program. If I run the writing one a few times and then run the read one, it still only shows the first entry that was input there. What is wrong with the code such that it won't show me all he entries added to the file?
Note: "entry" is a dictionary entry, of the form
[date, str, str, int, int, str]
openfile = open("results.pkl","ab")
pkloutput = pickle.Pickler(openfile)
openfile = open("results.pkl","rb")
pkloutput = pickle.Unpickler(openfile)
data = pkloutput.load()