You are viewing an older version (9.10.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.10.0 / IPython / core / interactiveshell / InteractiveShell / run_cell_magic

function

IPython.core.interactiveshell:InteractiveShell.run_cell_magic

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

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