TenjintShell.run_cell_magic

TenjintShell.run_cell_magic(magic_name, line, cell)

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.