摘要:
python基于pywinauto实现PC端自动化 python操作微信自动化 目录 一、 pywinauto安装和启动 1.安装: 2.backend选择 和 控件查看工具inspect介绍 2.启动(实例化程序):以微信示例 3.Application对象app的常用方法 二、控件定位方法和控件 阅读全文
摘要:
常用字符串方法如下: - 获取长度:len - 查找内容:find,index,rfind,rindex - 判断:startswith,endswith,isalpha,isdigit,isalnum,isspace - 计算出现次数:count - 替换内容:replace - 切割字符串:sp 阅读全文
摘要:
title postboot_all.bat for /f "tokens=1,2 delims= " %%i in ('adb devices^|findstr /v "devices"') do (adb -s %%i rootadb -s %%i wait-for-deviceadb -s % 阅读全文
摘要:
实际应用过程中,网页加载是要消耗一定的时间的。脚本已经开始运行,但要定位的元素却还没加载出来,此时就会报出一个找不到元素的错误。显然,没有考虑加载时间的脚本不是一个成功的脚本。 等待的三种方法 1、time.sleep(n) 强制等待n秒。Python本身的函数,包含在time包中,使用前需要导入t 阅读全文
摘要:
ExcelExport<AbstractViewForecastReport> ee = new ExcelExport<AbstractViewForecastReport>(); String[] headers = {"ID", "PeopleName", "WeekNo","GroupNam 阅读全文
摘要:
1、pip --proxy http://secure-proxy2.qualcomm.com:9090 install flask2、DBEfarmDBLink 10.253.145.41 new_su Zbe9UuMS%gpuserver2-gv 10.239.104.29 root Zbe9U 阅读全文
摘要:
#!/usr/bin/env python# -*- coding:utf-8 -*- # 使用了线程库import threading# 队列from Queue import Queue# 解析库from lxml import etree# 请求处理import requests# json处 阅读全文
摘要:
第一步:去官网下载压缩包第二步: 先解压,然后在mysql下创建一个my.ini文件(和bin目录同级),更改my.ini文件里面的两行安装目录, basedir=D:\mysql-8.0.23-winx64 (路径为自己的mysql路径) # 设置mysql数据库的数据的存放目录 datadir= 阅读全文
摘要:
#!/usr/bin/python # -*- coding: UTF-8 -*- # 带附件的添加 chenhua import smtplib import time from email.mime.text import MIMEText from email.mime.multipart i 阅读全文