zoukankan      html  css  js  c++  java
  • 折腾Ipython

    1. 用easy_install安装吧

    [root@host python]# easy_install IPython
    Searching for IPython
    Reading https://pypi.python.org/simple/IPython/
    Best match: ipython 4.0.0
    Downloading https://pypi.python.org/packages/source/i/ipython/ipython-4.0.0.zip#md5=0ba5dff36c5bf40ee383d9eb93f0d6d4
    Processing ipython-4.0.0.zip
    Writing /tmp/easy_install-JtlzBO/ipython-4.0.0/setup.cfg
    Running ipython-4.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JtlzBO/ipython-4.0.0/egg-dist-tmp-EexLav
    checking package data
    Adding ipython 4.0.0 to easy-install.pth file
    .......
    Reading https://pypi.python.org/simple/setuptools_scm/
    Best match: setuptools-scm 1.9.0
    Downloading https://pypi.python.org/packages/source/s/setuptools_scm/setuptools_scm-1.9.0.tar.gz#md5=020e097756c4fd67a0f4518cac0ff190
    Processing setuptools_scm-1.9.0.tar.gz
    Writing /tmp/easy_install-32EkS0/path.py-8.1.2/temp/easy_install-Bt0ay2/setuptools_scm-1.9.0/setup.cfg
    Running setuptools_scm-1.9.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-32EkS0/path.py-8.1.2/temp/easy_install-Bt0ay2/setuptools_scm-1.9.0/egg-dist-tmp-q61Rju
    
    Installed /tmp/easy_install-32EkS0/path.py-8.1.2/setuptools_scm-1.9.0-py2.7.egg
    your setuptools is too old (<12)
    setuptools_scm functionality is degraded
    zip_safe flag not set; analyzing archive contents...
    Adding path.py 8.1.2 to easy-install.pth file
    
    Installed /usr/lib/python2.7/site-packages/path.py-8.1.2-py2.7.egg
    Finished processing dependencies for IPython
    
    

     2.小测来了

    [root@host python]# ipython
    Python 2.7.5 (default, Jun 17 2014, 18:11:42)
    Type "copyright", "credits" or "license" for more information.
    
    IPython 4.0.0 -- An enhanced Interactive Python.
    ?         -> Introduction and overview of IPython's features.
    %quickref -> Quick reference.
    help      -> Python's own help system.
    object?   -> Details about 'object', use 'object??' for extra details.
    
  • 相关阅读:
    在未排序的数组中找到第 k 个最大的元素
    区域和检索
    控制台画图程序(可更换笔刷版本)
    循环中的scanf处理了换行符怎么破
    strlen获取字符数组为什么是255
    宽字符输出中文,Devc++解决方法
    区间取最小值最大值-位值和
    模拟鼠标键盘-封装函数
    scanf("%d",a[i]+j)为什么不加取地址符号
    scanf需要多输入一行是什么问题
  • 原文地址:https://www.cnblogs.com/oskb/p/4974598.html
Copyright © 2011-2022 走看看