A short introduction to using the pickle and json modules in Python to persist data structures to files.