ipython特点
1,Tab自动补全 输入模块名或方法名的开始部分 按下tab自动补全
2,帮助功能 用问号获取相关帮助信息 numpy?
3,自带记录功能 而且可以执行历史命令
4,强大的shell功能 编辑 运行 调试于一体
5,魔法
%cd mydir , 进入mydir目录
In [1]: %lsmagic
Available magic functions:
%Exit %Pprint %Quit %alias %autocall %autoindent %automagic %bg %bookmark %cd %clear %color_info %colors %cpaste %debug %dhist %dirs %doctest_mode %ed %edit %env %exit %hist %history %logoff %logon %logstart %logstate %logstop %lsmagic %macro %magic %p %page %paste %pdb %pdef %pdoc %pfile %pinfo %popd %profile %prun %psearch %psource %pushd %pwd %pycat %quickref %quit %r %rehash %rehashx %rep %reset %run %runlog %save %sc %store %sx %system_verbose %time %timeit %unalias %upgrade %who %who_ls %whos %xmode
Automagic is ON, % prefix NOT needed for magic functions.
%%script python2 import sys print 'hello from Python %s' % sys.version
官网
官方文档
http://ipython.readthedocs.io/en/stable/
快速入门
http://cs231n.github.io/ipython-tutorial/
在线使用ipython
https://www.pythonanywhere.com/try-ipython/
在线使用ipython notebook