Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IPython notebook how to restart the kernel, using keyboard shortcuts

I would like to restart IPython (jupiter) notebook Kernel and clear all outputs. The keyboard shortcut is O,O. But when I try ESC + O + O, nothing happens. Am I missing something? The interrupt kernel, however, shortcut I,I works.

like image 213
motam79 Avatar asked Nov 10 '16 14:11

motam79


People also ask

How do I restart iPython kernel?

You can restart your Jupyter Kernel by simply clicking Kernel > Restart from the Jupyter menu. Note: This will reset your notebook and remove all variables or methods you've defined! Sometimes you'll notice that your notebook is still hanging after you've restart the kernel. If this occurs try refreshing your browser.

How do I restart my iPython notebook?

You can run the whole notebook in a single step by clicking on the menu Cell -> Run All. To restart the kernel (i.e. the computational engine), click on the menu Kernel -> Restart.


1 Answers

The keyboard shortcut is ESC, 0, 0 as Thomas indicated (i.e. zeros, not the letter O).

like image 145
informaton Avatar answered Dec 28 '22 23:12

informaton