hutch_python.bug.get_last_n_commands

hutch_python.bug.get_last_n_commands(n)

Find the last n commands entered in the IPython session

Parameters:

n (int) – Number of commands to retrieve

Returns:

commands – Block of text representing user input

Return type:

str