in ipython , I can use %hist or %history to print recent history, but this only prints the history from the current session.
I would like to print the whole story, as the bash history command does.
What I'm trying to do is get the full story so that I can then search with a regular expression, see which commands are executed after the specified commands, etc.
Speaking of history, is it also possible to print time codes?
BIG NOTE : In bash, I wrote a simple script that prints a story, and I can grep it for keywords. I see the times when certain commands were executed. I can specify -A n or -B n , where n is the number of AFTER or BEFORE lines of this command. This is very convenient, because I can easily find what I did, when and what happened ...
I am looking for something similar for ipython
ipython
user1968963 Aug 04 '14 at 17:12 2014-08-04 17:12
source share