码迷,mamicode.com
首页 >  
搜索关键字:python gpio 点亮一颗led    ( 136028个结果
[leetcode]Longest Consecutive Sequence @ Python
原题地址:https://oj.leetcode.com/problems/longest-consecutive-sequence/题意:Given an unsorted array of integers, find the length of the longest consecutive ...
分类:编程语言   时间:2014-06-06 23:13:20    阅读次数:324
python 网络编程(五)---DNS域名系统
1.域名系统定义DNS计算机域名系统由域名服务器和域名解析器组成。通常输入的是网址就是一个域名。2.域名查询查询方式包括:1)正向查询:由域名查找对应的IP(如:www.baidu.com—>119.75.218.77 )2)反向查询:由IP查找域名(如:119.75.218.77 –> www.b...
分类:编程语言   时间:2014-06-06 22:27:40    阅读次数:402
Python 简单爬虫
在Linux上写的一个简单Python爬虫
分类:编程语言   时间:2014-06-06 21:45:47    阅读次数:293
[转]python -m SimpleHTTPServer
本文转自:http://www.cnblogs.com/congbo/archive/2012/11/15/2769704.html如果你急需一个简单的Web Server,但你又不想去下载并安装那些复杂的HTTP服务程序,比如:Apache,ISS等。那么,Python可能帮助你。使用Python...
分类:编程语言   时间:2014-06-06 21:14:04    阅读次数:677
Python 参数传递
Python 支持4种参数传递的方式:1.定义:F(a,b)调用: F(1,2)2.定义: F(a,b=9)调用: F(1) 或 F(1,2) #第二个参数未给出的话,使用默认的值 93.定义: F(*a)调用: F(1) 或 F(1,2)或F(1,2,3) #这种方式可以接收任意多个参数保存到名为...
分类:编程语言   时间:2014-06-06 21:02:21    阅读次数:374
mongodb----pymongo的用法
pymongo是python的一个模块,可能通过sudo pip install pymongo来安装。导入pymongoimport pymongo创建连接conn = pymongo.Connection("127.0.0.1",27017)查看所有的数据库conn.database_names...
分类:数据库   时间:2014-06-06 20:11:20    阅读次数:335
[leetcode]Best Time to Buy and Sell Stock II @ Python
原题地址:https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/题意:Say you have an array for which theithelement is the price of a given stoc...
分类:编程语言   时间:2014-06-06 20:04:46    阅读次数:400
网址大全(IT之类的)
Python : codes sources, forum, tutoriaux et astucesWriting Idiomatic Python BookPython for ArcGIS | ArcGIS Resource CenterPython Code Examples | YEI T...
分类:其他好文   时间:2014-06-06 18:42:33    阅读次数:223
[算法导论]quicksort algorithm @ Python
算法导论上面快速排序的实现。代码:def partition(array, left, right): i = left-1 for j in range(left, right): if array[j] <= array[right]: i += ...
分类:编程语言   时间:2014-06-06 18:18:13    阅读次数:351
HTMLParser in python
You can know form the name that the HTMLParser is something used to parse HTML files. In python, there are two HTMLParsers. One is the HTMLParser clas...
分类:编程语言   时间:2014-06-05 12:46:16    阅读次数:1294
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!