按类别查询搜索结果
关于关键词 的检测结果,共 1988
richace | 2017-03-09 10:49:14 | 阅读(470) | 评论(0)
【Python/Ruby】 一点其他
jwshxyd | 2017-02-19 18:56:15 | 阅读(490) | 评论(0)
一,类的自动进出点击(此处)折叠或打开class sth(object):     def __init__(self,hehe):        self.a = hehe    def __enter__(self): ...【阅读全文】
【Python/Ruby】 python 编程实用
jade_fu | 2017-02-16 13:42:14 | 阅读(1770) | 评论(0)
1, 工厂模式假设有一个功能, 能使用3种类(class1, class2, class3)实现, 用户使用的时候, 可以根据配置使用其中任何一种,那么你可以使用工厂模式实现.classx = get_factory(name):      if name == "class1":  return class1      elif name == "class2": re...【阅读全文】
lnbt | 2017-01-18 14:53:08 | 阅读(0) | 评论(0)
转自 https://xuanwulab.github.io/cn/secnews/2017/01/17/index.htmlhttps://github.com/OALabs/PyIATRebuild一个用于自动化重建基于内存导出的 PE 文件 IAT 表的 Python 库https://github.com/OALabs/PyIATRebuild【阅读全文】
leve1031 | 2016-12-26 10:18:51 | 阅读(0) | 评论(0)
https://segmentfault.com/a/1190000000618513【阅读全文】
hmchzb19 | 2016-12-24 14:13:11 | 阅读(1440) | 评论(0)
1.  这是个已经shutdown的网站,曾经提供JSON IP and GeoIP REST APIhttp://www.telize.com/2.  这个网站很不错,提供xml/json/csv的输出https://freegeoip.net/点击(此处)折叠或打开root@kali:/usr/local/src/py/network# curl freegeoip.net/csv/123.161.***.***...【阅读全文】
steve78926 | 2016-12-22 12:03:06 | 阅读(1080) | 评论(0)
python如何添加模块搜索路径的3个方法【阅读全文】
【Python/Ruby】 python3 的一巨啃
fengqiyunyong123 | 2016-11-25 14:33:25 | 阅读(3410) | 评论(0)
   近期在python3.5上安装部分模块都出现        os.chmod(fname, 0755)                      ^    SyntaxError: invalid token   这种类...【阅读全文】
【Python/Ruby】 paramiko 的例子
hmchzb19 | 2016-09-30 11:35:30 | 阅读(2240) | 评论(0)
1. 第一个使用sudo 来run commands. 点击(此处)折叠或打开    ssh=paramiko.SSHClient()    ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())    ssh.connect("127.0.0.1",username...【阅读全文】
eatmyshort | 2016-09-12 14:45:14 | 阅读(1970) | 评论(0)
python 以逗号分割,忽略引号内的逗号加posix=True 和不加posix=True 有区别前两个是加和不加posix=True的对比,最后一个例子是以空格分割的语句的例子lex.quotes = '"' 去掉效果一样import shlexstr=shlex.shlex("ab,'cdsfd,sfsd',ewewq,5654",posix=True)str.whitespace=','str.whitesapce_s...【阅读全文】
寂寞暴走伤 | 2016-08-24 17:31:45 | 阅读(760) | 评论(0)
shell grep awk【阅读全文】
老爷康 | 2016-07-18 14:41:10 | 阅读(740) | 评论(0)
问:现在有一个需求,我程序启动后,为了防止用户误输入ctrl+D/C 而把任务给挂掉,想忽略或者捕捉这个信号,当然,ctrl+c发送中断信号,可以被忽略,但是类似于SIGKILL 和 SIGSTOP 信号不能被捕捉也不能被捕获我该怎么办,我想禁用掉他们,求解决答:...【阅读全文】
【Python/Ruby】 python结-socket
kinfinger | 2016-07-09 17:07:14 | 阅读(0) | 评论(0)
python,bind,listen,accept,SELECT,POLL【阅读全文】
kinfinger | 2016-07-08 13:58:24 | 阅读(0) | 评论(0)
python,list,comprehension【阅读全文】
kinfinger | 2016-07-03 23:29:49 | 阅读(0) | 评论(0)
geneator,send,next,yield【阅读全文】
kinfinger | 2016-07-03 18:43:48 | 阅读(0) | 评论(0)
decorator,wraps【阅读全文】
【Python/Ruby】 python结-字符编码
kinfinger | 2016-07-03 17:05:48 | 阅读(0) | 评论(0)
python,unicode,from __future__ import unicode_literals【阅读全文】
kinfinger | 2016-07-03 00:02:17 | 阅读(0) | 评论(0)
python,map,lambda,filter,reduce,functional,decorator, equal forma【阅读全文】
laoliulaoliu | 2016-07-02 22:17:24 | 阅读(700) | 评论(0)
原文地址:https://zhuanlan.zhihu.com/p/20175869?refer=auxten作者:auxten链接:https://zhuanlan.zhihu.com/p/20175869来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。超时函数这个函数的作用在于可以给任意可能会hang住的函数添加超时功能,这个功能在编写外部AP...【阅读全文】
【Python/Ruby】 python 结-CGI-WSGI
kinfinger | 2016-07-02 16:51:40 | 阅读(0) | 评论(0)
CGI,WSGI,PYTHON,SERVER,MIDDLE,APP,REGISTER【阅读全文】