欢迎来到 AI 中文社区(简称 AI 中文社),这里是学习交流 AI 人工智能技术的中文社区。 为了更好的体验,本站推荐使用 Chrome 浏览器。
全部教程·
Python语言·
Jupyter
[目录]
·
IPython 安装
Jupyter 教程
IPython 安装
IPython 启动
IPython 运行脚本
IPython 历史命令
IPython 系统命令
IPython 命令行选项
IPython 动态对象自省
IPython IO缓存
IPython 环境变量
IPython shell代码
IPython 嵌入
IPython 魔术命令
Jupyter 项目
Jupyter 笔记本
Jupyter 在线使用
Jupyter 安装与入门
Jupyter 仪表盘
Jupyter 用户界面
Jupyter 单元格类型
Jupyter 编辑
Jupyter Markdown
Jupyter 魔术功能
Jupyter 绘图
Jupyter 转换
Jupyter IPyWidgets
Jupyter QtConsole入门
QtConsole 多行编辑
QtConsole 嵌入式图形
QtConsole 保存为HTML
QtConsole 多个控制台
Jupyter 笔记本连接
Jupyter 笔记本共享
JupyterLab 概述
JupyterLab 安装和入门
JupyterLab 界面
JupyterLab 安装R内核
Jupyter 教程
IPython 安装
IPython 启动
IPython 运行脚本
IPython 历史命令
IPython 系统命令
IPython 命令行选项
IPython 动态对象自省
IPython IO缓存
IPython 环境变量
IPython shell代码
IPython 嵌入
IPython 魔术命令
Jupyter 项目
Jupyter 笔记本
Jupyter 在线使用
Jupyter 安装与入门
Jupyter 仪表盘
Jupyter 用户界面
Jupyter 单元格类型
Jupyter 编辑
Jupyter Markdown
Jupyter 魔术功能
Jupyter 绘图
Jupyter 转换
Jupyter IPyWidgets
Jupyter QtConsole入门
QtConsole 多行编辑
QtConsole 嵌入式图形
QtConsole 保存为HTML
QtConsole 多个控制台
Jupyter 笔记本连接
Jupyter 笔记本共享
JupyterLab 概述
JupyterLab 安装和入门
JupyterLab 界面
JupyterLab 安装R内核
IPython 安装
IPython默认包含在Python的Anaconda发行版中。可以从Anaconda的下载页面下载 www.anaconda.com/download/ Binaries该链接提供了适用于所有主要操作系统(Windows,MacOS和Linux)和体系结构(32位和64位)的信息。
要在标准Python安装中单独安装IPython,可以使用如下所示的pip命令:
# Filename : example.py # Copyright : 2020 By aizws # Author by : www.aizws.net # Date : 2020-08-28 pip3 install ipython
IPython在内部使用以下软件包:
| 产品编号 | IPython的依赖关系和功能 |
| 1 | colorama 用于从Python打印彩色终端文本的跨平台API |
| 2 | jedi Python自动补全工具 |
| 3 | pickleshare 带有存储并发支持的小型"货架"数据存储 |
| 4 | prompt_toolkit 用于在Python中构建强大的交互式命令行的库 |
| 5 | 色素 用Python编写的语法突出显示包 |
| 6 | 简单泛型 简单泛型函数 |
| 7 | 特征集 Python应用程序的配置系统。 |
通常,所有依赖项都会自动安装。否则,您可以使用pip单独安装它们。
下一章:IPython 启动
本章将说明如何开始使用 IPython。从命令提示符处启动IPython在继续深入了解IPython之前,请注意,您会注意到两个主要的Python提示,而不是常规的 >>> ,如下所述: In&nbs ...
AI 中文社