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

bundles / IPython 9.18.0.dev / IPython / terminal / magics / TerminalMagics / store_or_execute

function

IPython.terminal.magics:TerminalMagics.store_or_execute

source: /dev/ipython/IPython/terminal/magics.py:43

Signature

def store_or_execute(self, block, name, store_history = False)

Summary

Execute a block, or store it in a variable, per the user's request.

Aliases

  • IPython.terminal.interactiveshell.TerminalMagics.store_or_execute