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

bundles / IPython latest / IPython / core / magics / history / HistoryMagics / rerun

function

IPython.core.magics.history:HistoryMagics.rerun

source: /IPython/core/magics/history.py :310

Signature

def   rerun ( self parameter_s = '' )

Summary

Re-run previous input

Extended Summary

By default, you can specify ranges of input history to be repeated (as with %history). With no arguments, it will repeat the last line.

Options:

-l <n>Repeat the last n lines of input, not including the current command.

-g fooRepeat the most recent line which contains foo

Aliases

  • IPython.core.magics.HistoryMagics.rerun