[IPython-User] Magic reset except user namespace given to start_ipython

Hugo Gagnon opensource.ipython@user.fastmail...
Tue Sep 10 13:08:41 CDT 2013


Hello,

I'm starting ipython from a python script likewise:

IPython.start_ipython(user_ns=my_ns, config=my_config)

Once in ipython, is it possible to reset my namespace (using the %reset
magic) except for whatever is contained in "my_ns"?

If not, what would be the best way to go about it?

Thanks,
-- 
  Hugo Gagnon


More information about the IPython-User mailing list