Wrapper around cPickle.load which accepts either a file-like object or a filename.

Parameters :

F : str or file

The file or file name to load.

See also

Pickle an array


This is different from numpy.load, which does not use cPickle but loads the NumPy binary .npy format.

Previous topic

Next topic

This Page