Save/load like matlab?

Stef Mientki stef.mientki at gmail.com
Mon Aug 23 15:54:37 EDT 2010


 On 23-08-2010 21:44, Daniel Fetchinson 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.
> Perhaps pickle is the thing you are looking for?
>
> http://docs.python.org/library/pickle.html
or even cpickle which is lot faster
cheers,
Stef
> HTH,
> Daniel
>
>




More information about the Python-list mailing list