decompress_pickle

# Load any compressed pickle file
def decompress_pickle(file):
 data = bz2.BZ2File(file, ‘rb’)
 data = cPickle.load(data)
 return data
Bright Bat