I followed this post which led me to this post in order to save ipython's input results(not to be confused input results with outputs; they are considered different things in ipython). The post's accepted answer is simply 'use %logstart -o
in the ipython' and I follow the answer wholeheartedly, expecting it to work, but it does not.
Since a picture is worth more than a thousand words, I here present the picture that shows %logstart -o
cannot solve my problem. The picture clearly shows that I used %logstart -o
in the ipython and I played a file that prints a string and a numpy array. The string and the array do not show up in the ipython_log.py, which concludes either of two things.
1) %logstart -o
is bugged(which I do not believe)
2) %logstart -o
works but it does not accomplish my goal
My question is the following:
If %logstart -o
cannot accomplish my goal, then what can?