In 0.12, you can change the prompt to'>>>' with the magic command doctest_mode.
In [1]: %doctest_mode
Exception reporting mode: Plain
Doctest mode is: ON
>>>
Since it is troublesome to hit each time, define the following alias so that it will be changed automatically at startup.
alias ipy='ipython -ic "%doctest_mode"'
In versions prior to 0.12 (maybe earlier),'ipython -cl' seems to have done the same.
Recommended Posts