In iPython, there is an Input/output caching system that offers numbered prompts (In/Out). All input is saved and can be retrieved as variables (besides the usual arrow key recall).
The following GLOBAL variables always exist (so don't overwrite them!):
_i: stores previous input.
_ii: next previous.
_iii: next-next previous.
_ih : a list of all input _ih[n] is the input from line n.
Anywhere in code, don't use these variables, otherwise it would make very messy situation while debugging the code.
The following GLOBAL variables always exist (so don't overwrite them!):
_i: stores previous input.
_ii: next previous.
_iii: next-next previous.
_ih : a list of all input _ih[n] is the input from line n.
Anywhere in code, don't use these variables, otherwise it would make very messy situation while debugging the code.
No comments:
New comments are not allowed.