>>> import numpy as np >>> np.save('/tmp/data.npy',{'a':'Hi Mom!'}) >>> x=np.load('/tmp/data.npy') >>> x.item() {'a': 'Hi Mom!'}