Running IPython/Jupyter Notebook Cells
In this section:
Launching IPython Notebook
To run an IPython Notebook, follow these steps
- Open the desired
*.ipynbfile for editing.
- 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:
To run a cell, follow these steps
- Select the desired cell in the document.
- On the document toolbar, click .
PyCharm executes the code of the selected cell, and shows the result below:
To run all cells in a Notebook
- Press Shift+F10.
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: