会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
文刀六日
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
10
下一页
2021年9月17日
web自动化:如何让select下la
摘要: Console控制台中输入: 在Console页面输入setTimeout(function(){debugger;},5000),然后快速点击要定位的下拉框, 鼠标不要动等待三秒,下拉框就被固定住了,这时就可对下拉框的枚举值进行定位了
阅读全文
posted @ 2021-09-17 14:26 文刀六日
阅读(46)
评论(0)
推荐(0)
2021年9月6日
web自动化:当谷歌浏览器驱动不匹配时,如何解决
摘要: 1.当我们执行脚本时,报当谷歌浏览器驱动不匹配时,如何解决 2.http://npm.taobao.org/mirrors/chromedriver 查看谷歌浏览器版本,在该网页中找到与浏览器匹配的驱动,即可
阅读全文
posted @ 2021-09-06 23:33 文刀六日
阅读(183)
评论(0)
推荐(0)
2021年8月26日
Django:重定向
摘要: 1. HttpResponseRedirect 重定向 2. redirect重定向 3.重定向 name设置 ,views中使用 redirect
阅读全文
posted @ 2021-08-26 23:40 文刀六日
阅读(64)
评论(0)
推荐(0)
Django:render、render_to_response函数的使用
摘要:
阅读全文
posted @ 2021-08-26 17:31 文刀六日
阅读(45)
评论(0)
推荐(0)
Django:使用get_template、render实现读取数据并传递数据
摘要: 1.使用 loader.get_template('index.html') 读取数据 2. templ.render 传递变量
阅读全文
posted @ 2021-08-26 17:22 文刀六日
阅读(285)
评论(0)
推荐(0)
Django:读入html中的数据
摘要: 1.配置file_path 2.with open()打开文件,read读取数据 3.如何将变量传递到 html中,使用替换
阅读全文
posted @ 2021-08-26 15:01 文刀六日
阅读(206)
评论(0)
推荐(0)
2021年8月23日
Django:urls配置路由地址
摘要: 1.urls配置路由地址 path()中得地址绝对地址 url()中可以使用正则表达式,^以什么开头,$以什么结尾
阅读全文
posted @ 2021-08-23 17:07 文刀六日
阅读(53)
评论(0)
推荐(0)
Django:基础知识-创建模块
摘要: 1. 创建项目 django-admin startproject 项目名 2. 创建accounts模块 python manage.py startapp app名 models.py #模块名 views #视图 templates #
阅读全文
posted @ 2021-08-23 16:32 文刀六日
阅读(203)
评论(0)
推荐(0)
Django:基础知识
摘要: 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 文刀六日
阅读(27)
评论(0)
推荐(0)
2021年7月10日
deepdiff:对比文件
摘要: 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 文刀六日
阅读(260)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
10
下一页
公告