2015年8月24日
摘要: Python数据结构之:列表特性1> 有序的集合2> 通过偏移来索引数据3> 支持嵌套4> 数据可变2. 切片1> 正向索引>>>a = [1,2,3,4,5,6,7,7]>>>a[1:3] #取第2个到第3个的列表元素[2, 3]>>>a[0:5:2] #从第1个到第5个列表元素中每隔1个的元素[... 阅读全文
posted @ 2015-08-24 10:35 星夜晨曦 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 下载地址:https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz下载文件到指定目录[root@operations ~]# cd /usr/local/[root@operations local]# wget https://www.p... 阅读全文
posted @ 2015-08-24 10:34 星夜晨曦 阅读(1260) 评论(0) 推荐(0) 编辑