10 2020 档案

摘要:对比使用logging模块手动封装使用,配置复杂麻烦,发现一个loguru模块,使用更方便简单。 1、安装 pip install loguru 2、导入及日志输出控制台 from loguru import logger #导入模块 logger.debug('测试一下') #直接调用方法即可 l 阅读全文
posted @ 2020-10-20 18:30 spellbound 阅读(3756) 评论(2) 推荐(0)
摘要:1、环境说明 操作系统:centos7 matser节点:192.168.124.76 node1节点:192.168.124.97 2、前置必操作步骤 2.1、关闭防火墙 systemctl stop firewalld #关闭防火墙 systemctl disable firewalld #永久 阅读全文
posted @ 2020-10-16 10:26 spellbound 阅读(639) 评论(0) 推荐(0)
摘要:微信小程序中,使用driver.find_element_by_xpath定位元素报错no such element self.driver.find_element_by_xpath("//*[@text='识别']").click() 但打印页面进行查看有找到元素 print(self.driv 阅读全文
posted @ 2020-10-10 14:28 spellbound 阅读(1220) 评论(0) 推荐(0)