
python
给麦兜吃芒果
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【无标题】
Python两张图片对比转载 2023-02-23 16:59:40 · 99 阅读 · 0 评论 -
Ptyhon时间方面
Ptyhon时间方面原创 2023-02-23 11:08:09 · 130 阅读 · 0 评论 -
手机截屏/区域截图
手机截屏/区域截图原创 2023-02-23 10:47:46 · 276 阅读 · 0 评论 -
python pyautogui获取鼠标位置 与 所在位置的颜色
python pyautogui获取鼠标位置 与 所在位置的颜色原创 2022-10-20 15:32:36 · 1610 阅读 · 0 评论 -
Python文件写入txt
文件写入txt原创 2022-06-30 09:23:59 · 551 阅读 · 0 评论 -
selenium基本事件
'''需要先下载selenium模块:pip install selenium'''from selenium import webdriverfrom time import sleep #等待from selenium.webdriver.common.action_chains import ActionChains #鼠标事件from selenium.webdriver.common.keys import Keys #键盘事件'''++++++++++++++++++++++.原创 2022-05-27 14:36:46 · 465 阅读 · 0 评论 -
电商平台web自动化selenium+unittest
#小蜜蜂电商平台单元测试自动化流程from selenium import webdriver #从selenium库里导入webdriver包from time import sleep #导入睡眠# from selenium.webdriver.common.action_chains import ActionChainsimport unittestfrom ui_text.HTMLTestRunnerCN import HTMLTestRunner#导入HTMLTestRunne.原创 2022-05-27 11:07:03 · 394 阅读 · 0 评论 -
python图片匹配
#方法一,可以直接用import pyautogui,timeclass Pic(): def __init__(self): pass self.w,self.h = pyautogui.size() def get_win(self,number_x=32,number_y=24): #读取页面,记录rgb数据 tx = int(self.w/number_x) ty = int(self.h/n.原创 2022-05-24 16:35:27 · 1498 阅读 · 0 评论 -
python OCR文字识别
import easyocrdef hjc_shibie01(): reader = easyocr.Reader(['ch_sim','en']) imagepath = 'D:\\PycharmProjects\\hjclx\wenzishibie\\dd01.png'#图片存放的路径 result = reader.readtext(imagepath) for i in result: word = i[1] print(wor.原创 2022-05-23 16:48:41 · 985 阅读 · 1 评论