PyCharm 2016.3 Help

Running IPython/Jupyter Notebook Cells

In this section:

Launching IPython Notebook

To run an IPython Notebook, follow these steps

  1. Open the desired *.ipynb file for editing.
  2. Press Shift+F10. PyCharm shows Start Jupyter Notebook dialog box where you have to specify the Notebook server URL:

    If this URL has been entered in the IPython Notebook page of the Settings dialog, then this value will be specified by default. If you need a different server URL, you have to type it manually.

    PyCharm shows the notebook kernel in the Jupyter Notebook tab of the Run tool window:


    When running another notebook, the corresponding kernel starts:


Running cells

To run a cell, follow these steps

  1. Select the desired cell in the document.
  2. On the document toolbar, click /help/img/idea/2016.3/run.png.

    PyCharm executes the code of the selected cell, and shows the result below:


To run all cells in a Notebook

  • Press Shift+F10.

Progress indication

Note that each cell has its number to the left:


When a cell is being executed, the number changes to an asterisk:


When ready, the cell number insreases:


See Also

Last modified: 23 December 2016