首页 > 编程语言 > 详细

初识 Python

时间:2016-06-28 00:46:51      阅读:242      评论:0      收藏:0      [点我收藏+]

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!