摘要:        
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
阅读(88)
评论(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
阅读(136)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
计算机的基本由四大部分组成。 一、CPU。也是我们经常称的中央处理器。也是我们计算机最重要的资源,我暂时称之为‘大脑’。 二、Memory。 内存,这对大家都不陌生,因为没一个应用程序都需要被加载到Memeory里面后,CPU 才可以对其进行执行。 它是易失性的,断电之后数据就会丢失。内存我还是称之    阅读全文
        
            posted @ 2016-03-16 16:06
gopher-lin
阅读(131)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
http://python.jobbole.com/81478/    阅读全文
        
            posted @ 2016-03-16 16:01
gopher-lin
阅读(115)
评论(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
阅读(151)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
学习:    阅读全文
        
            posted @ 2016-03-16 15:01
gopher-lin
阅读(275)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
http://python.jobbole.com/84153/    阅读全文
        
            posted @ 2016-03-16 14:36
gopher-lin
阅读(175)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
http://python.jobbole.com/84130/    阅读全文
        
            posted @ 2016-03-16 14:32
gopher-lin
阅读(279)
评论(0)
推荐(0)
        
        
                    
                
浙公网安备 33010602011771号