📅  最后修改于: 2022-03-11 14:45:33.595000             🧑  作者: Mango
import dill
# Save the file
dill.dump(myObject, file = open("myObject.pickle", "wb"))
# Reload the file
myObject = dill.load(open("myObject.pickle", "rb"))