> 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 -- http://mail.python.org/mailman/listinfo/python-list