上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页
摘要: array = [1,2,3,6,5,4] for i in range(len(array)): for j in range(i): if array[j] > array[j + 1]: array[j], array[j + 1] = array[j + 1], array[j] print array print ... 阅读全文
posted @ 2016-03-16 16:44 gopher-lin 阅读(86) 评论(0) 推荐(0) 编辑
摘要: def demo(data): for i in range(len(data)-1,0,-1): positon_max = 0 for k in range(i): if data[positon_max] > data[k]: positon_max = k data[i],data[positon... 阅读全文
posted @ 2016-03-16 16:43 gopher-lin 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 计算机的基本由四大部分组成。 一、CPU。也是我们经常称的中央处理器。也是我们计算机最重要的资源,我暂时称之为‘大脑’。 二、Memory。 内存,这对大家都不陌生,因为没一个应用程序都需要被加载到Memeory里面后,CPU 才可以对其进行执行。 它是易失性的,断电之后数据就会丢失。内存我还是称之 阅读全文
posted @ 2016-03-16 16:06 gopher-lin 阅读(125) 评论(0) 推荐(0) 编辑
摘要: http://python.jobbole.com/81478/ 阅读全文
posted @ 2016-03-16 16:01 gopher-lin 阅读(109) 评论(0) 推荐(0) 编辑
摘要: #coding:utf-8 import htmllib import httplib2 import httplib h1 = httplib.HTTPConnection("www.python.org") h1.request("GET", "/") r1 = h1.getresponse() print r1.status, r1.reason data1 = r1.read() ... 阅读全文
posted @ 2016-03-16 16:00 gopher-lin 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 学习: 阅读全文
posted @ 2016-03-16 15:01 gopher-lin 阅读(271) 评论(0) 推荐(0) 编辑
摘要: http://python.jobbole.com/84153/ 阅读全文
posted @ 2016-03-16 14:36 gopher-lin 阅读(165) 评论(0) 推荐(0) 编辑
摘要: http://python.jobbole.com/84130/ 阅读全文
posted @ 2016-03-16 14:32 gopher-lin 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 11 阅读全文
posted @ 2016-03-14 13:19 gopher-lin 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 由于毕业设计的要求,又开始了学习android 开发之路,其实心里是不太愿意的因为一直感觉学的东西,太杂太乱,一直没有机会好好深入去研究一下一门,因此决定把Python好好学习一下,但是事情有时总是不能尽入人愿。好吧,开始学习了java/android了,但是Python仍然是我的最爱 阅读全文
posted @ 2016-03-14 12:38 gopher-lin 阅读(122) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页