上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页
摘要: from selenium import webdriverfrom time import sleep#Chrome_options常规操作#1.如何在调用浏览器时候就是最大化窗体?#2.自动化启动时,如何驱动浏览器警告条#3.浏览器在启动时,如何有缓存#4.浏览器如何在隐身模式与常规模式切换op 阅读全文
posted @ 2020-06-21 22:22 Murraya 阅读(2428) 评论(0) 推荐(0)
摘要: 八种元素定位 1. id,基于元素属性中id的值来进行定位 2. name 3. link text 4. partial link text 5. classname 6. tagname 7. cssselector 8. xpath 常用的为id、name、xpath from seleniu 阅读全文
posted @ 2020-06-13 16:09 Murraya 阅读(1476) 评论(0) 推荐(0)
摘要: 八种元素定位 1. id,基于元素属性中id的值来进行定位 2. name 3. link text 4. partial link text 5. classname 6. tagname 7. cssselector 8. xpath 常用的为id、name、xpath 阅读全文
posted @ 2020-06-13 16:08 Murraya 阅读(182) 评论(0) 推荐(0)
摘要: #实现邮件发送import smtplib#email实现邮件的构建from email.mime.text import MIMETextfrom email.header import Headerimport schedule,timedef job(): # 如何实现文本邮件发送 messa 阅读全文
posted @ 2020-06-07 08:33 Murraya 阅读(167) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-06-01 22:11 Murraya 阅读(0) 评论(0) 推荐(0)
摘要: import logging,time# 1.使用logging提供的模块级别的函数format="%(asctime)s %(name)s 文件:%(filename)s 函数:%(funcName)s 行号:%(lineno)d %(levelname)s %(message)s"logging 阅读全文
posted @ 2020-06-01 10:41 Murraya 阅读(128) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-05-31 10:39 Murraya 阅读(0) 评论(0) 推荐(0)
摘要: 一、约束 1)主键 主键约束=非空约束+唯一约束 主键可以是一个列或者多个列 1)创表添加多个列作为主键 create table score1( sid int not null, cid int not null, PRIMARY key(sid,cid) ); 2)删除主键约束 alter t 阅读全文
posted @ 2020-05-31 10:38 Murraya 阅读(106) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-05-31 10:36 Murraya 阅读(0) 评论(0) 推荐(0)
摘要: 一、约束 1)主键 主键约束=非空约束+唯一约束 主键可以是一个列或者多个列 1)创表添加多个列作为主键 create table score1( sid int not null, cid int not null, PRIMARY key(sid,cid) ); 2)删除主键约束 alter t 阅读全文
posted @ 2020-05-31 10:35 Murraya 阅读(138) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页