码迷,mamicode.com
首页 >  
搜索关键字:python 监控 daemon sendemail thread    ( 169047个结果
正则表达式-python-无捕获分组与分支选择
无捕获分组当你要将一部分规则作为一个整体对它进行某些操作,比如指定其重复次数时,你需要将这部分规则用(?:)把它包围起来。分支条件在正则表达式中,分支条件是一个很常用的条件。满足条件A 或者 满足条件B ,这个时候我们就可以使用分支条件了。分支条件使用的符号为 |代码示例:我们突然发现,...
分类:编程语言   时间:2014-05-01 10:05:33    阅读次数:435
《每日一博》——学习
额,还没有想好写什么(我这样忽悠读者,读者一定会感受到我的诚意的吧!)。 总之呢,我介绍一下现在我基本了解的一些计算机技术吧 1.安全类 web安全(入 侵 、 提 权 ) 网络安全(路由器 、wifi、以及其他) 信息安全(社工) 2.制作类 c系列 java html ps(这个应该也算...
分类:其他好文   时间:2014-05-01 10:02:20    阅读次数:442
Python Urllib2和Cookielib的综合使用
# Python Urllib2和Cookielib的综合使用标签(空格分隔): Python Urllib2 Fetch---1. 手动添加请求的Headers,在opener,Request,urlopen,看看有几种方法可以使用相同的Headers处理不同的网页;2. 设定CookieJar,...
分类:编程语言   时间:2014-05-01 09:43:02    阅读次数:487
Effective Java 66 Synchronize access to shared mutable data
When multiple threads share mutable data, each thread that reads or writes the data must perform synchronization. Without synchronization, there is no...
分类:数据库   时间:2014-05-01 09:14:25    阅读次数:506
求一个数的最大素因子(python实现)
首先想到的是,将这个数进行素因子分解,得到所有的因子,然后取最大的。 首先写一个判断一个数是否是素数的方法: #judge a number whether a prime def judgePrime(self,number,pme): if number < 2: ...
分类:编程语言   时间:2014-05-01 09:05:26    阅读次数:3333
[leetcode]Remove Nth Node From End of List @ Python
原题地址:http://oj.leetcode.com/problems/remove-nth-node-from-end-of-list/题意:Given a linked list, remove thenthnode from the end of list and return its he...
分类:编程语言   时间:2014-05-01 06:42:15    阅读次数:332
Memcached source code analysis (threading model)--reference
Look under the start memcahcedthreadingprocessmemcached multi-threaded mainly by instantiating multiple libevent, are a main thread and n workers thre...
分类:其他好文   时间:2014-05-01 06:15:27    阅读次数:356
Building.Machine.Learning.Systems.with.Python(2013.7).Willi.Richert.文字版
下载地址...
分类:编程语言   时间:2014-04-29 13:48:21    阅读次数:276
C# 线程
//创建1个线程对象 并为这个线程对象指定要执行的方法.             Thread thread = new Thread(TestThread);             //设置线程为后台线程.             thread.IsBackground = true;             //开启线程             thread.Start();  ...
分类:编程语言   时间:2014-04-29 13:32:23    阅读次数:363
Python3.2官方文档翻译-- 类定义语法和类对象
6.3 初识类    类引入一些新语法:三种新的对象类型和一些新的语义。 6.3.1 类定义语法 类定义的最简单形式如下: class ClassName: . . . 类定义和函数定义(def语句)一样,必须先执行然后才生效。(你当然可以把类定义放在if语句分支中或者嵌入在函数中) 在实际情况中,在类定义中的语句常常是方法的定义,但是其他语句也是允许的并且有时是很有用的...
分类:编程语言   时间:2014-04-29 13:14:23    阅读次数:433
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!