ptpython and IPython save all history that typed in a interactive session.
IPython can just use arrow keys(up down) to get earlier code or print all with In
ptpython is most advance Checking Code History and Reinserting Earlier Code.
IPython can just use arrow keys(up down) to get earlier code or print all with In
[1]: %history -g
.ptpython is most advance Checking Code History and Reinserting Earlier Code.