f = open('example', 'w')
pickle.dump(['hello', 'world'], f)
pickle.dump([2, 3], f)
f.close()
f = open('example', 'r')
value1 = pickle.load(f)
value2 = pickle.load(f)
f.close()
pickle - putting more than 1 object in a file?