PyCharm 5.0 Help

Running IPython 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. Select the desired cell in the document.
  3. On the document toolbar, click run. PyCharm shows Start IPython Notebook dialog box where you have to specify the IPython Notebook server URL:
    py_ipynb_start

    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 IPython Notebook kernel:

    py_ipynb_console

    When running another notebook, the corresponding kernel starts:

    py_ipynb_console_kernels

Running a cell

To run a cell, follow these steps

  1. Select the desired cell in the document.
  2. On the document toolbar, click run.

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

    py_ipynb_result

Progress indication

Note that each cell has its number to the left:

py_ipynb_cell_number

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

py_ipynb_asterisk

When ready, the cell number insreases:

py_ipynb_cell_number_plus_one

See Also

Reference:

External Links:

Last modified: 10 December 2015