GSO <gso...@yahoo.co.uk> wrote: > On 5 March 2011 02:14, MRAB <pyt...@mrabarnett.plus.com> wrote: > ... > >> Any comments, suggestions? > >> > > You obviously can't feed your computer pickles then. > > How about a tasty tidbit of XML? Served up in a main dish of DOM, or > serially if preferred?
Well, right now it takes three lines to save the dict object: data_file = open(data_filename, 'wb') marshal.dump(analysis, file, 2) data_file.close() and three to load it. I doubt I could do it that easily in XML _and_ the data file would be enormous. (XML always is, let's be honest. The file doesn't need to be human readable or editable.) -- http://mail.python.org/mailman/listinfo/python-list