Save/load like matlab?

Robert Kern robert.kern at
Mon Aug 23 22:18:08 CEST 2010

On 8/23/10 12:37 PM, Sang-Ho Yun wrote:
> I wonder if there is a way to save and load all python variables just like
> matlab does, so I can build a code step by step by loading previous states.
> I am handling a python processing code for very large files and multiple
> processing steps. Each time I find a bug, I have to run the whole thing
> again, which is time consuming.

Test each piece of code in isolation from the rest rather than relying on a 
complete run to test everything in one go.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

More information about the Python-list mailing list