[IPython-dev] Shutdown InProcessKernel?
cbeaumont at cfa.harvard.edu
Thu Oct 23 11:53:12 EDT 2014
Say I start the vanilla python REPL, and type:
>>> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev