Setting to change IPython prompt to'>>>' at startup

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

Setting to change IPython prompt to'>>>' at startup
How to specify a .py file to load at startup in IPython 0.13
Python interpreter prompt change
How to use IPython
Runlevel at OS startup
Try to make PC setting change software using TKinter (beginner)
How to run a Python file at a Windows 10 command prompt