标签:python 初识
1.安装 ipython 1.2.1
[root@Client-1]# tar -xf ipython 1.2.1.tar.gz
[root@Client-1]cd ipython 1.2.1
[root@Client-1 ipython-1.2.1]# python setup.py install
2.安装 pip
[root@Client-1 ipython-1.2.1]# yum install python-pip -y
[root@Client-1 ~]# pip list|grep ipython
ipython (1.2.1)
3.使用ipython
[root@Client-1 ~]# ipython
Python 2.6.6 (r266:84292, Nov 22 2013, 12:11:10)
Type "copyright", "credits" or "license" for more information.
IPython 1.2.1 -- 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.
In [1]:
本文出自 “知识改变命运” 博客,谢绝转载!
标签:python 初识
原文地址:http://ahtornado.blog.51cto.com/4826737/1793463