[Lilug] python pickle compare files
Jorg Kewisch
jorg at bnl.gov
Thu Mar 17 07:37:02 PDT 2016
(pickle is a python function which allows writing complex data and meta
data to a file and read it back)
I have a dictionary in a pickle file. I read it with load() and write it
into a second file with dump() without changing anything. The two files
are different, it seems the sequence of the dictionary items differs.
Why is that? And is there a simple way to compare the files?
jorg
More information about the Lilug
mailing list