上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: Console控制台中输入: 在Console页面输入setTimeout(function(){debugger;},5000),然后快速点击要定位的下拉框, 鼠标不要动等待三秒,下拉框就被固定住了,这时就可对下拉框的枚举值进行定位了 阅读全文
posted @ 2021-09-17 14:26 文刀六日 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 1.当我们执行脚本时,报当谷歌浏览器驱动不匹配时,如何解决 2.http://npm.taobao.org/mirrors/chromedriver 查看谷歌浏览器版本,在该网页中找到与浏览器匹配的驱动,即可 阅读全文
posted @ 2021-09-06 23:33 文刀六日 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1. HttpResponseRedirect 重定向 2. redirect重定向 3.重定向 name设置 ,views中使用 redirect 阅读全文
posted @ 2021-08-26 23:40 文刀六日 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-08-26 17:31 文刀六日 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 1.使用 loader.get_template('index.html') 读取数据 2. templ.render 传递变量 阅读全文
posted @ 2021-08-26 17:22 文刀六日 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 1.配置file_path 2.with open()打开文件,read读取数据 3.如何将变量传递到 html中,使用替换 阅读全文
posted @ 2021-08-26 15:01 文刀六日 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1.urls配置路由地址 path()中得地址绝对地址 url()中可以使用正则表达式,^以什么开头,$以什么结尾 阅读全文
posted @ 2021-08-23 17:07 文刀六日 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 1. 创建项目 django-admin startproject 项目名 2. 创建accounts模块 python manage.py startapp app名 models.py #模块名 views #视图 templates # 阅读全文
posted @ 2021-08-23 16:32 文刀六日 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1.新建项目结构 django-admin startproject 项目名 2.启动 python manage.py runserver 8000 3.项目结构 My_project 项目目录 __init__.py #包得入口文件 setting.py #项目配置文件 urls.py url 阅读全文
posted @ 2021-08-23 16:01 文刀六日 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 1.安装包,pip install deepdiff 2.导入包: from deepdiff import DeepDiff 3. dict1 = {"aaa":"AAA","bbb":"BBB"} dict2 = {"c":"AAA","bbb":"BBB"} print(DeepDiff(di 阅读全文
posted @ 2021-07-10 22:44 文刀六日 阅读(213) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页