readPickle

readPickle(file, encoding='ASCII')

Load a python object saved with savePickle

Args: file (str): Path to the file
encoding (str): The encoding

Returns: the object stored in the saved dataset

See also: savePickle

Examples: >>> from rlike import * >>> f = savePickle({‘a’: 0, ‘b’: [‘x’, ‘y’]}, file = ‘mydata.pickle’) >>> x = readPickle(‘mydata.pickle’) >>> x {‘a’: 0, ‘b’: [‘x’, ‘y’]}