Persistence

Many programs need to have persistent data structures, i.e., data live after the program is terminated and can be retrieved the next time the program is executed
str, repr and eval are convenient for making data structures persistent
pickle, cPickle and shelve are other (more sophisticated) Python modules for storing/loading objects

previousnexttable of contents