bundles / IPython 9.14.0.dev / IPython / core / magics / history / HistoryMagics / rerun
function
IPython.core.magics.history:HistoryMagics.rerun
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