numpy.load(file, mmap_mode=None, allow_pickle=True, fix_imports=True, encoding='ASCII') [source]
Load arrays or pickled objects from .npy, .npz or pickled files. Parameters:
file : file-like object or string The file to read. File-like objects must support the seek() and read() methods. Pickled files require that the file-like object support the readline() method as well. mmap_mode : {None, ?r+?, ?r?, ?w+?, ?c?}, optional If not None, then memory-map the file, using the given mode (see