python method for extracting pkl files

  • 2021-01-03 20:56:52
  • OfStack

As shown below:


import pickle
with open(filename, 'rb') as f:
 datadict = pickle.load(f, encoding='latin1') 
f.close() 

Related articles: