摘要: 安装: brew install --HEAD ideviceinstaller brew install --HEAD libimobiledevice brew install ios-deploy 查看模拟器列表(也包含真机):instruments -s devices 查看真机列表:ide 阅读全文
posted @ 2019-06-08 16:35 KS毛毛虫 阅读(228) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-05-13 23:28 KS毛毛虫 阅读(5) 评论(0) 推荐(0) 编辑
摘要: Capabilities: platformName - 平台名称:iOS, Android, or FirefoxOS deviceName - 对android而言,是个必填项,但随便填个字符串就行 # 一般若应用未安装,可用app来指定安装文件 app - 指向安装文件的绝对路径或远程http 阅读全文
posted @ 2019-05-09 22:33 KS毛毛虫 阅读(226) 评论(0) 推荐(0) 编辑
摘要: adb常用命令: 1. 获取包名 2. 获取当前页面的activity 3. 获取app的启动activity 阅读全文
posted @ 2019-05-09 09:14 KS毛毛虫 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 说明:以下所需安装的所有软件版本必须跟系统一致,即系统是64位,软件就得是64位,否则会出现各种链接报错的情况。 现以64位系统,python 3.6.5 64位为例: (一)安装cx_Oracle 2. 在cmd中,敲入pip install ,然后用鼠标直接将刚下载的文件拖进cmd中,回车即可安 阅读全文
posted @ 2019-04-25 07:49 KS毛毛虫 阅读(95) 评论(0) 推荐(0) 编辑
摘要: import random # range [a,b) 不包含b # 获取随机整数 # randrange [a,b) 不包含b a = random.randrange(0, 101, 5) # Even integer from 0 to 100 inclusive 5 - step print(a) # 15 # randint[a, b] 包含b b = random.... 阅读全文
posted @ 2019-04-25 07:43 KS毛毛虫 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 1.用内置的count()方法,该方法返回子字符串在字符串中出现的次数(同样适用于列表)2.用collections模块的Counter类示例: 1 from collections import Counter 2 3 # =================================================================================... 阅读全文
posted @ 2018-12-21 10:43 KS毛毛虫 阅读(2026) 评论(0) 推荐(0) 编辑