Save/load like matlab?

Daniel Fetchinson fetchinson at googlemail.com
Mon Aug 23 21:44:00 CEST 2010


> 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.

Perhaps pickle is the thing you are looking for?

http://docs.python.org/library/pickle.html

HTH,
Daniel


-- 
Psss, psss, put it down! - http://www.cafepress.com/putitdown



More information about the Python-list mailing list