安装ipython
python3 -m pip install ipython -i https://pypi.douban.com/simple
终端打开 ipython
lau:~ lau$ ipython
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 16:39:00)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.19.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: