ipython 自学 一,官网以及在线实验

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.org/


官方文档

http://ipython.readthedocs.io/en/stable/


快速入门

http://cs231n.github.io/ipython-tutorial/


在线使用ipython

https://www.pythonanywhere.com/try-ipython/



在线使用ipython notebook

https://wakari.io/


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值