ipython和Jupyter Notebook

综合编程 2018-05-24

ipython

ipython是一个python的交互式shell,比默认的python shell好用得多,支持变量自动补全,自动缩进,支持bash shell命令,内置了许多很有用的功能和函数。学习ipython将会让我们以一种更高的效率来使用python。同时它也是利用Python进行科学计算和交互可视化的一个最佳的平台。

安装

pip install ipython

启动

ipython

Jupyter Notebook

Jupyter Notebook(此前被称为 IPython notebook)是一个交互式笔记本,支持运行 40 多种编程语言。

Jupyter Notebook是以网页的形式打开,可以在网页页面中直接编写代码和运行代码,代码的运行结果也会直接在代码块下显示的程序。如在编程过程中需要编写说明文档,可在同一个页面中直接编写,便于作及时的说明和解释。

官网

http://jupyter.org/

安装方式

pip install jupyter

启动方式

jupyter notebook

您可能感兴趣的

Disordered code when using Emacs ipython Inferior ... I am using the newest emacs25.1.1 with the newest archlinux. However, when I edit a python scripts and send it to the Inferior ipython by using C...
JupyterLab first impressions I’m not new to the Python evolution from the c Python shell, to iPython, to iPython notebooks, to Jupyter, and now keeping a close eye on J...
使用IPython调试代码 从知乎作者 Rui L 学来的一招。 应该用过 IPython 吧?想象一下,抛出异常时自动把你带到 IPython Shell 是不是很开心?而且和普通的IPython不同,这个时候可以调用 p (print), up(up stack), down(down stack) 之类的命令。 ...
How can I re-create the effect of the ‘- pyl... I'd like to create a profile that does the same thing as IPython's --pylab flag "by hand". What should the contents of a script be — package impor...
Redirection-output and / or backup of the ... I would like to be able to do the following during an IPython session: Easily save the contents of a variable to disk in an ASCII file Easi...