examples/numpy/serialization.py
from __future__  import print_function
import numpy
scores = numpy.array([
    [23, 37, 18, 97, 13, 40],
    [10, 15, 20, 30, 39, 50],
    [99, 20, 83, 42, 19, 31],
    [19, 11, 55, 78, 39, 27]
])
filename = 'scores.npy'
numpy.save(filename, scores)

s = numpy.load(filename)
print(s)