JhGU's personal site

Handling Pickle Files in Different Python Versions

Load a pickle that was dumped in python 2 from python 3

pickle.load(open('a.dat', 'rb'), encoding='latin-1')