Thanks lhj!
@@ -19,3 +19,4 @@ f = open(shoplistfile, 'rb')
# Load the object from the file
storedlist = pickle.load(f)
print(storedlist)
+f.close()