2 Bookmarks storage manager - pickle; certainly the most simple and elegant :)
4 Written by BroytMann, Feb 2000 - Mar 2000. Copyright (C) 2000 PhiloSoft Design
17 filename = "bookmarks_db.pickle"
20 def store(self, root_folder):
21 outfile = open(self.filename, 'wb')
22 pickle.dump(root_folder, outfile, 1)
27 infile = open(self.filename, 'rb')
28 root_folder = pickle.load(infile)