2020年6月20日

摘要: 代码: #coding=utf-8 from selenium import webdriver import time #IE浏览器11/IEDriverServer.exe driver = webdriver.Ie() driver.get('http://www.baidu.com/') t 阅读全文
posted @ 2020-06-20 11:03 shiberhou 阅读(936) 评论(0) 推荐(0) 编辑
摘要: 代码: #coding = utf-8 def people(age): if age>0: print("这是一个正常的人") print(get_name()) else: print("这是一个不正常的人") def get_name(): print("张三") people(10) 结果: 阅读全文
posted @ 2020-06-20 09:53 shiberhou 阅读(833) 评论(0) 推荐(0) 编辑
摘要: 代码: 结果: PS E:\30.Study\30.自动化测试\99.零基础入门 Python Web 自动化测试\10.seleniumCodePractice> & "C:/Program Files/Python38/python.exe" "e:/30.Study/30.自动化测试/99.零 阅读全文
posted @ 2020-06-20 09:25 shiberhou 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1. VS code 设置1之多行注释快捷键 转自:https://blog.csdn.net/Alive_tree/article/details/102941123 打开VSCode 1、 点击文件 -->首选项–> 键盘快捷方式 2、 在搜索框中输入comment 3、 选中要更改的快捷键名字 阅读全文
posted @ 2020-06-20 08:59 shiberhou 阅读(271) 评论(0) 推荐(0) 编辑

导航