[IPython-dev] Shutdown InProcessKernel?
Chris Beaumont
cbeaumont at cfa.harvard.edu
Thu Oct 23 11:53:12 EDT 2014
Hi,
Say I start the vanilla python REPL, and type:
>>> x=5
>>> from IPython.kernel.inprocess.ipkernel import InProcessKernel
>>> x = InProcessKernel()
In : x # NameError: name 'x' is not defined
instantiating a kernel takes over the REPL, gives a new prompt, and defines
a new namespace (where neither x nor k are defined)
At this point is there any way to shutdown the kernel, to get back to the
old prompt and namespace?
Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20141023/e26ed328/attachment.html>
More information about the IPython-dev
mailing list