python - Reset ipython kernel -


I was wondering if there is a way to restart the ipython kernel without closing it, such as the kernel restart task That reminder book I tried to reset % but it does not seem to clean up the import.

However it would be easy if % reset namespace and cache for import ( In the notebook), then anyone can reload the previously imported module using the importlib.reload . In Python3.0-3.3, code> python3.4 or imp.reload (and if necessary, reset the kernel in the second step).


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -