How to use Python’s pickle module