np.save('data.npy', num_arr) # save new_num_arr = np.load('data.npy') # load
np.save('test3.npy', a) # .npy extension is added if not given d = np.load('test3.npy') a == d # array([ True, True, True, True], dtype=bool)