PyCharm 2019.2 Help

IPython magic commands

PyCharm supports usage of IPython magic commands. Prior to start working, consider the following prerequisites:

  • IPython is available on your computer with Anaconda.

  • The corresponding Conda environment is set as the default interpreter for the current project.

Use the magic commands of IPython

  1. From the main menu, select Tools | Python Console. If IPython has been properly installed, PyCharm will recognize it automatically, and will report about the version used.

    IPython version is shown in the Python console

  2. In the lower part of the console, start typing the magic commands, and press Enter to execute them.

    Refer to Using Consoles for the list of available actions.

Last modified: 6 November 2019