dictionary = {'hello': 'world'} np.save('my_file.npy', dictionary) read_dictionary = np.load('my_file.npy',allow_pickle = True).item() print(read_dictionary['hello']) print("ok")
https://zhuanlan.zhihu.com/p/258140196
https://blog.youkuaiyun.com/qq_39362996/article/details/85755087