pickleを使って変数をそのまま保存する[Python]

7月 26, 2020

import pickle
import numpy as np
arr = np.zeros(100)
with
open("arr.pickle", "wb") as f:
pickle.dump(arr, f)

Python

Posted by vastee