自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 selenium窗口操作

from selenium import webdriver from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By # 开启会话 driver = webdriver.Chrome() driver.get("http://ww

2021-04-21 13:23:30 137

原创 selenium强制、隐性、显性等待,以及点击元素被覆盖的解决方法

import time from selenium import webdriver from selenium.webdriver import ActionChains from selenium.webdriver.support import expected_conditions from selenium.webdriver.support.wait import WebDriverWait driver = webdriver.Chrome() driver.implicitly_wai

2021-04-21 13:22:48 769

原创 基于python的日志封装

import logging import os from config import path def get_logger(name='root', logger_level='DEBUG', stream_handler_level='DEBUG', file=None, file_handler_level='INFO', fmt_str="tim

2021-04-21 13:07:36 70 1

原创 基于python的excel的操作

import openpyxl class ExcelHandler: def __init__(self, fpath): self.fpath = fpath # 元组可读性差点 # def read(self, sheet_name): # """读取文件""" # # 打开文件 # wb = openpyxl.open(self.fpath) # print(wb) # #

2021-04-21 13:05:18 104

原创 基于python数据库操作

基于python数据库操作 import pymysql from pymysql.cursors import DictCursor class DBHandler: def __init__(self, host='8.129.91.152', port=3306, user='future', password='123456',

2021-04-21 11:30:12 63

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除