ipython安装

ipython 是一个 python 的交互式 shell,比默认的python shell 好用得多,支持变量自动补全,自动缩进,支持 bash shell 命令,内置了许多很有用的功能和函数。

[root@dating01 csvt04]# ipython manage.py shell
-bash: ipython: command not found

则没有安装ipython

wget http://archive.ipython.org/release/0.12/ipython-0.12.tar.gz
 tar -zxvf ipython-0.12.tar.gz
 cd ipython-0.12
 python setup.py install

出现以下内容则安装成功

[root@dating01 csvt04]# ipython manage.py shell
Python 2.7.2 (default, Feb  7 2012, 10:42:20)
Type "copyright", "credits" or "license" for more information.
IPython 0.12 -- 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,ipython)