上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 65 下一页
摘要: 知识点1 引用模块 调用方法 设置参数 知识点2 画一个五角星 边长100,向右角度72 循环5次 知识点3 for循环 for x in range(5): 等同于 for x in range(0,5,1): 知识点4 实例画五角星 180-36=144 right的角度为144 知识点4 展示 阅读全文
posted @ 2021-07-05 17:15 胖豆芽 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 知识点1 变量必须赋初值后才能使用 知识点2 换一种形式 知识点3 求类型 type() 知识点4 用双等号 做判断 是否为真 知识点5 截取字符串 知识点6 倒序展示 知识点7 不同类型相加会报错 知识点8 8.1转义字符 8.2空格 8.3 换行 8.4 \ 8.5 成员运算符 in 8.6成云 阅读全文
posted @ 2021-07-05 14:58 胖豆芽 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 知识点1间隔符号sep=''输入代码:print('www','baidu','com',sep='.')获得结果如图 知识点2input 输入值 str=input('请输入一个值')print('你输入的值是:',str) 注意:1.输出的字符串必须是用双引号引起来的 否则报错 invaild 阅读全文
posted @ 2021-07-05 11:38 胖豆芽 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 步骤 1.打开genymotion;打开6.0的系统 2.在命令行输入adb shell monkey -p com.headsetapp --ignore-crashes --ignore-timeouts -v -v -v 10000> D:\applog.txt 3.打开applog.txt查 阅读全文
posted @ 2021-06-28 15:29 胖豆芽 阅读(68) 评论(0) 推荐(0) 编辑
摘要: from selenium import webdriverimport timedriver = webdriver.Chrome()time.sleep(2)driver.get('https://www.baidu.com') driver.find_element_by_xpath('//* 阅读全文
posted @ 2021-06-24 19:44 胖豆芽 阅读(51) 评论(0) 推荐(0) 编辑
摘要: from selenium import webdriverimport timedriver = webdriver.Chrome()time.sleep(2)#打开百度driver.get('https://www.baidu.com') #1.通过id,定位百度的输入框,写hello driv 阅读全文
posted @ 2021-06-24 19:21 胖豆芽 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 对于Windows平台,打开cmd 使用命令where python 阅读全文
posted @ 2021-06-24 18:33 胖豆芽 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 对比正常网络和弱网时接口的请求速度 用来测试的接口https://api.apiopen.top/getJoke?page=1&count=2&type=video 、 设置弱网的步骤 1:fiddler 规则》自定义规则》开启弱网模式 2.更改规则 规则》自定义规则》 oSession["requ 阅读全文
posted @ 2021-06-24 17:35 胖豆芽 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 感谢原博客 小胖虎vivi 的博客园 https://www.cnblogs.com/vivia/p/12820870.html 实例步骤 1.在fiddler设置断点 规则》自动断点》 在返回后 2.在网页打开接口https://api.apiopen.top/getJoke?page=1&cou 阅读全文
posted @ 2021-06-24 16:38 胖豆芽 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 1.在fiddler 规则》自动断点》在返回后 2.在页面打开百度 3.在fiddler点击百度的网址,修改返回为本地的照片文件 4.点击执行完成请求 5.大功告成查看结果 6.在fiddler 规则》自动断点》禁止 阅读全文
posted @ 2021-06-24 16:12 胖豆芽 阅读(55) 评论(0) 推荐(0) 编辑
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 65 下一页