[IPython-User] excluding vars when reseting the namespace

D T dnt2y@yahoo....
Wed Nov 24 15:10:50 CST 2010

HiIs there a way to remove variables from the namespace while excluding some? It seems that %reset can't do that, and python's "del" didn't wanna take a list generated by %who_ls.
I'm trying to get some functionality like Matlab's "clear -x <var_name>", which removes everything from the workspace but <var_name>.
Many thanksD.T. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20101124/1181f293/attachment.html 

More information about the IPython-User mailing list