1. 环境准备¶
1.1. 安装python¶
Note
安装过程请勾选添加到环境变量的选项,不然后续的命令没法直接使用。
1.2. ipython的安装¶
C:\Users\Administrator>pip install ipython
Note
如果你感觉ipython不好用,可以换用bpython。
1.3. ipython测试¶
C:\Users\Administrator>ipython
Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 6.1.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: a=2
In [2]: print(a)
2