Ipython

 18.1  IPython

IPython 是 python 的一个第三方库,在新建 Scrapy 爬虫项目和运行 Scrapy 爬虫,都会用到 Scrapy 终端,如果安装了 IPython ,Scrapy 终端将使用 IPython (替代标准Python 终端)。 IPython 终端与其他相比更为强大,提供智能的自动补全,高亮输出,及其他特性。(推荐安装 IPython)

18.1.1 Ipython的安装

通过 pip install Ipython 命令来安装 Ipython 。

注意 Ipythond 的首字母大写。

 

18.1.2 Ipython的安装结果验证

安装完成之后,输入 Ipython 。

显示如下图则安装成功。

 

18.1.3 Ipython的简单使用

在 in 行输入 print("hello world")。

随后输出了 hello world 。

 

原文地址:https://www.cnblogs.com/tinghai8/p/9552571.html