上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 71 下一页
摘要: https://blog.csdn.net/julia922/article/details/89031947 阅读全文
posted @ 2019-11-22 16:03 不带R的墨菲特 阅读(165) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/julia922/article/details/90258534 阅读全文
posted @ 2019-11-22 16:01 不带R的墨菲特 阅读(375) 评论(0) 推荐(0)
摘要: class Test1(object): def __init__(self,ids): self.ids=idsclass Par(Test1): def __init__(self,ids,user): super().__init__(ids) #Test1.__init__(self,ids 阅读全文
posted @ 2019-11-21 17:22 不带R的墨菲特 阅读(546) 评论(0) 推荐(0)
摘要: Response message: Received: Close frame with status code 1009 and close reason 'No async message support and buffer too small. Buffer size: [8,192], M 阅读全文
posted @ 2019-11-21 16:48 不带R的墨菲特 阅读(2660) 评论(2) 推荐(0)
摘要: https://jmeter-plugins.org/wiki/PluginsManager/ 以websocket 插件为例 先安装plugin manger 第二步:打开jmetre options manager 勾选并apply会自动重启jmeter 检验插件安装:add -->smaple 阅读全文
posted @ 2019-11-21 15:37 不带R的墨菲特 阅读(457) 评论(0) 推荐(0)
摘要: import psutildef cpu_information(): #scputimes(user=26.9, nice=0.1, system=50.27, idle=8551.89, iowait=1.97, irq=0.0, softirq=1.86, steal=0.0, guest=0 阅读全文
posted @ 2019-11-19 17:06 不带R的墨菲特 阅读(401) 评论(0) 推荐(0)
摘要: 网卡流量 1、iftop命令 iftop可以用来监控网卡的实时流量(可以指定网段)、反向解析IP、显示端口信息、TCP/IP连接等官网:http://www.ex-parrot.com/~pdw/iftop/ 安装iftop: [root@Super ~]# yum install flex bya 阅读全文
posted @ 2019-11-19 15:53 不带R的墨菲特 阅读(2372) 评论(2) 推荐(0)
摘要: # coding=utf-8import unittestfrom inspect import isfunctiondef usage(): """also unittest.__dict__""" print(unittest.__all__)def stdout_writeText(): su 阅读全文
posted @ 2019-11-18 15:41 不带R的墨菲特 阅读(515) 评论(0) 推荐(0)
摘要: 解决方案一直接改unittest源代码: 把排序240行逻辑注释掉,237行获取成员方法按照dict方法替换原有的dir() 方法 验证效果: 比较猥琐的解决方案2 获取成员变量class.__dict__.keys() filter过滤符合要求成员,由于3.x成员dict属性是支持有序的 # co 阅读全文
posted @ 2019-11-18 15:17 不带R的墨菲特 阅读(362) 评论(2) 推荐(0)
摘要: def read_json(path): """return dict""" with open(path,'r+')as f: return json.load(f) def write_json(path,data): with open(path,"w+")as f: json.dump(da 阅读全文
posted @ 2019-11-15 14:45 不带R的墨菲特 阅读(157) 评论(0) 推荐(0)
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 71 下一页