python
文章平均质量分 85
kevin_Luan
kevin_Luan
展开
-
python list
python list 笔记 #!/usr/bin/env python #coding=utf-8 #设置python编码 from operator import itemgetter import sys ###### class MyList: def __init__(self): self.arr=[] #静态方法 @staticmethod def strT原创 2015-09-27 21:15:26 · 608 阅读 · 0 评论 -
python http
python http 请求 #!/usr/bin/env python #coding=utf-8 #设置python编码 from operator import itemgetter import sys import urllib #实现了http和https的客户端协议 import urllib2 import httplib class HttpUtil: def __ini原创 2015-09-27 22:07:52 · 1117 阅读 · 0 评论 -
python map
python class 使用 #!/usr/bin/env python #coding=utf-8 #设置python编码 from operator import itemgetter import sys ###### class MyMap: def __init__(self): self.entity={} print('Initialize {0}'.forma原创 2015-09-27 09:46:16 · 1535 阅读 · 0 评论