0
Integers in pickle file
How to save integers into pickle file
2 Antworten
+ 2
That's the beauty of pickle - it doesn't matter what you save, the procedure is the same!
import pickle
x = 5
with open('file.dmp', 'wb') as tmp:
pickle.dump(x, tmp)
https://www.pythoncentral.io/how-to-pickle-unpickle-tutorial/
+ 1
thank you