This is a development version (latest) and may be unstable.Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython latest / IPython / core / interactiveshell / InteractiveShell / run_cell_magic

function

IPython.core.interactiveshell:InteractiveShell.run_cell_magic

source: /IPython/core/interactiveshell.py:2604

Signature

def run_cell_magic(self, magic_name, line, cell)

Summary

Execute the given cell magic.

Parameters

magic_name : str

Name of the desired magic function, without '%' prefix.

line : str

The rest of the first input line as a single string.

cell : str

The body of the cell as a (possibly multiline) string.

Aliases

  • IPython.InteractiveShell.run_cell_magic