On Thu, Dec 30, 2021 at 4:32 AM iMath <redstone-c...@163.com> wrote: > > > You have lost the data in that case. > > But I found the size of the file of the shelve data didn't change much, so I > guess the data are still in it , I just wonder any way to recover my data.
Unless two conflicting versions got interleaved, in which case I strongly advise you NOT to try unpickling it. If you really feel like delving into it, try manually decoding the pickle stream, but be very careful. ChrisA -- https://mail.python.org/mailman/listinfo/python-list