按类别查询搜索结果
关于关键词 的检测结果,共 610
【Python/Ruby】 的awk数组
jeffreyst | 2014-05-06 16:26:11 | 阅读(900) | 评论(0)
【Python/Ruby】 python中help
wgjnje | 2014-04-30 16:44:53 | 阅读(1330) | 评论(0)
a-plus | 2014-03-25 15:21:23 | 阅读(7040) | 评论(0)
本文详细讲解了Python里iterable,sequence和iterator的特性及区别。【阅读全文】
qxhgd | 2014-03-24 16:45:36 | 阅读(870) | 评论(0)
dsy851009 | 2014-03-16 19:55:57 | 阅读(3050) | 评论(0)
第一步导出聊天记录(此聊天记录只能导出本机的,不是服务器上的哦~~)点击(此处)折叠或打开INPUT_FILE = "qq_chat_history.txt"HEADER_START = b"2013"(START_QQ, LINE_END_QQ) = (b"(", b")\r\n")(START_EMAIL, LINE_END_EMAIL) = (b...【阅读全文】
afiua | 2014-03-11 17:01:03 | 阅读(4720) | 评论(0)
前一段时间写的小东西,一直没工夫把他系统写出来,今天眼睛疼,就写写吧~~(原来博主不蛋疼时也会更新博客的哈~)python抓取网页基础python自己带有很多网络应用相关的模块,如:ftplib用于FTP相关操作,smtplib和poplib用于收发电子邮件等等,利用这些 模块自己写一个FTP软件或是邮件客户端类软件完全是可能的,...【阅读全文】
【Python/Ruby】 python员工息管理
zhang2428847702 | 2014-02-18 15:37:10 | 阅读(3170) | 评论(0)
#!/usr/bin/env pythonfrom sys import exitfrom os import systemfrom getpass import getpassdata_file = 'staff_list.txt'data = open(data_file).readlines()# define user and password_user = 'root'_passwd = 'zl'# define _search, _add methoddef _search(key):    result = [] &...【阅读全文】
yyf1986 | 2014-02-12 17:14:01 | 阅读(4680) | 评论(0)
初学python,利用python监控redis内存,主从,以及ping状态【阅读全文】
LaoLiulaoliu | 2014-01-19 13:30:02 | 阅读(2930) | 评论(0)
文章来源:http://blog.sina.com.cn/s/blog_a6c0d4220101c0ge.html   本文介绍如何进行个人新浪微博词频统计,并给出相应的柱状图分析,编程环境为Python 2.7。该文主要包括三个部分:新浪微博API的使用、文本过滤及分词和词频统计。    一、新浪微博API的使用  &nbs...【阅读全文】
zx7415963 | 2014-01-01 23:46:11 | 阅读(340) | 评论(0)
西山壹号院 | 2013-12-19 18:22:39 | 阅读(720) | 评论(0)
 2012-05-05 15:13:54|  分类: 默认分类 |  标签:微博api  python  oauth2.0   |字号大中小 订阅 API下载地址  :http://code.google.com/p/sinaweibopy/wiki/Download 注册微博App后,...【阅读全文】
lshdcr | 2013-12-18 22:40:26 | 阅读(1090) | 评论(0)
#!/usr/bin/env python#coding:utf8import subprocessimport signal#信号处理函数,打印一段话def sigint_handler(signum,frame):        print "In signal SIGINT handler"#注册信号。signal.signal(signal.SIGINT,sigint_handler)ping = subprocess.Popen(args="pin...【阅读全文】
【Python/Ruby】 像老一样调试Python
sunyrising | 2013-12-18 02:42:16 | 阅读(560) | 评论(0)
http://bbs.chinaunix.net/thread-4115645-1-1.htmlhttps://zapier.com/engineering/debugging-python-boss/def make_pie(self, ingredients): print '******WHAT IS GOING ON HERE******' print ingredients self.oven.preheat() print self.oven.temperature上面的一段代码有木有很像你平时调试代码的样子?好吧,...【阅读全文】
dsy851009 | 2013-12-17 11:33:32 | 阅读(2400) | 评论(0)
原文链接,部分内容我会摘录过来:(特别适合没有编程经验的人士阅读)http://www.cnblogs.com/vamei/archive/2012/06/02/2531515.html【阅读全文】
【Python/Ruby】 Python写天室.Part 5
cm20121009 | 2013-12-16 14:31:30 | 阅读(1640) | 评论(0)
horsley | 2013-11-18 11:21:53 | 阅读(1320) | 评论(0)
Protocol Interaction:actor 间的交互协议https://github.com/celluloid/celluloid/wiki/Protocol-Interaction注意:这一部分为高阶内容,使用上较复杂。建议不要轻易尝试。Celluloid 使用的异步消息协议可以让你直接为 actors 添加某些行为。想要发送一个原始的异步消息(raw asynchronous message)给 actor,使...【阅读全文】
pugna_zfr | 2013-11-12 17:32:16 | 阅读(4210) | 评论(0)
import sys;sys.setrecursionlimit(1500);但是,执行完sys.setrecursionlimit(1500);后,测试发现实际递归值会比设定值小20。难道是python运行就使用了20次递归?不明白。测试代码如下:import syssys.setrecursionlimit(1500)  # set the maximum depth as 1500 def recursion(n):  &nb...【阅读全文】
【Python/Ruby】 啦啦啦啦,Python
wmlhust | 2013-11-11 21:16:02 | 阅读(890) | 评论(0)
基础已经学了一半了,好好加油,恭喜Python开版,哈哈同喜同喜,欢迎常来转转。。【阅读全文】
ycy52025 | 2013-10-31 19:59:02 | 阅读(0) | 评论(0)
排序,sort()函数,字符串【阅读全文】
windy180 | 2013-10-21 00:06:21 | 阅读(190) | 评论(0)
据悉,《Atlas》虽然不是酷玩乐队创作的第一首电影主题曲,却是他们自2011年的专辑《Mylo Xyloto》发行以来创作的第一首歌曲。如今,《Atlas》取得了傲人的成绩,不仅登上了43个国家的iTunes音乐榜的榜首位置,在美国著名音乐榜单公告牌的前100首热门歌曲中也位列第69,而在公告牌的摇滚歌曲和另类歌曲排行榜中更是进入了前...【阅读全文】