Save/Store whole class (or another object) in a file

Matimus mccredie at
Tue Oct 17 17:59:19 CEST 2006

> is it possible in python (with/without matplotlib, numpy etc) to store
> a whole class with its data into a file, instead it to reconstruct
> every time again? So is there an analogous to the matlab functions
> load/save available?

look up the pickle module.

More information about the Python-list mailing list