摘要: #__author: hasee #date: 2018/2/4 product_list=[ ('Mac',9000), ('kindle',800), ('tesla',900000), ('python book',105), ('bike',2000), ] saving=input('please input your money:')... 阅读全文
posted @ 2018-02-10 11:01 minkillmax 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 1:打开eclipse确认是否有findbug(windows-preference下搜索下findbugs,没有结果就代表没有安装)2:下载离线安装包3:解压离线包4:解压文件复制到plugins5:重启eclipse6:下载findbug资料7:在eclispe创建测试代码 a:创建JAVA项目 阅读全文
posted @ 2018-01-30 12:12 minkillmax 阅读(1703) 评论(0) 推荐(0) 编辑
摘要: 安全性检测: 如何杀端口: 1.占用8080端口信息状况: 查看是那个应用占用了8080端口: 杀端口 阅读全文
posted @ 2018-01-26 12:53 minkillmax 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 四、Monkey 命令详解 1).标准的monkey 命令 [adb shell] monkey [options] <eventcount> , 例如: adb shell monkey -v 500 产生500次随机事件,作用在系统中所有activity(其实也不是所有的activity,而是包 阅读全文
posted @ 2018-01-25 17:45 minkillmax 阅读(2777) 评论(1) 推荐(0) 编辑
摘要: adb的全称为Android Debug Bridge 调试桥,是连接Android手机与PC端的桥梁,通过adb可以管理、操作模拟器和设备,如安装软件、查看设备软硬件参数、系统升级、运行shell命令等。那具体有哪些可用命令呢?下面我就一一道来。 adb环境变量的配置 工欲善其事,必先利其器。ad 阅读全文
posted @ 2018-01-23 18:25 minkillmax 阅读(333) 评论(0) 推荐(0) 编辑
摘要: #__author: hasee #date: 2018/1/20 from urllib.request import urlopen, urlretrieve from urllib.parse import quote from re import findall url = 'http://www.cdtest.cn/' # 确定URL f = urlopen(url) # 利... 阅读全文
posted @ 2018-01-20 09:02 minkillmax 阅读(79) 评论(0) 推荐(0) 编辑
摘要: import re #在Python中正则表达式的使用 #findall() #match() #search() #第一个参数为正则表达式,第二个参数为要检索的字符串 #result=re.findall('Hi',s) #findall()查找字符串中所有满足正则表达式规律的内容,并将结果依次保存在列表中 #result=re.match('hi') #match()从字符串开头位置... 阅读全文
posted @ 2018-01-18 21:34 minkillmax 阅读(112) 评论(0) 推荐(0) 编辑
摘要: from urllib.parse import quote,unquote #字节码 #%E6%88%90%E9%83%BD #quote 字符串-字节码 编码 #unquote 字节码-字符串 解码 s='成都' s1=quote(s,encoding='utf8') print(s1) s4=unquote(s1) print(s4) #字节码 #\xe6\x88\x90\x... 阅读全文
posted @ 2018-01-18 21:33 minkillmax 阅读(217) 评论(0) 推荐(0) 编辑
摘要: from time import time,sleep now1=time() #import urllib.request #urllib.request.urlretrieve() #from urllib import request #request.urlretrieve() def abc1(a,b,c): print(a) #a接收的是下载过程中数据包的序号 ... 阅读全文
posted @ 2018-01-18 21:31 minkillmax 阅读(124) 评论(0) 推荐(0) 编辑
摘要: #open() #urlopen() #方法名称不同 #参数不同 #只能以只读模式打开网络资源文件包名就是一个文件夹,包含许多的模块模块就是一个文件,文件里包含其他的函数之类的。详解:https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014318447437605e90206e... 阅读全文
posted @ 2018-01-18 21:30 minkillmax 阅读(414) 评论(0) 推荐(0) 编辑