上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 80 下一页
摘要: 总结 1.创建一个项目 2.创建一个new environment using 虚拟环境 3.更改项目的解释器interpreter 完结 撒花~~ 下面是图解 全新的虚拟环境,选择第一个红框内的新虚拟环境 因为全新的环境缺少第三方依赖包, 所以 修改工程的解释器地址 阅读全文
posted @ 2023-10-07 10:14 胖豆芽 阅读(12) 评论(0) 推荐(0)
摘要: 展示动态方法 需要加self # A.py 调用B的制作伞 和扇子 from B import Handmade class Weather: def __init__(self, type): self.type = type def action(self): f = Handmade.make 阅读全文
posted @ 2023-09-28 19:50 胖豆芽 阅读(17) 评论(0) 推荐(0)
摘要: # login_code.py # 导包 from selenium import webdriver from selenium.webdriver.common.by import By from time import sleep from selenium.webdriver.chrome. 阅读全文
posted @ 2023-09-28 19:07 胖豆芽 阅读(48) 评论(0) 推荐(0)
摘要: 感谢大佬 https://blog.csdn.net/qq_37405087/article/details/131642749 修改ini配置文件 打开ini文件 修改值 将其中的ANTIALIAS替换为LANCZOS image = image.resize((int(image.size[0] 阅读全文
posted @ 2023-09-28 17:53 胖豆芽 阅读(843) 评论(0) 推荐(0)
摘要: #关闭浏览器展示模式 判断元素是否存在 # 导包 from selenium import webdriver from selenium.webdriver.common.by import By from time import sleep from selenium.webdriver.chr 阅读全文
posted @ 2023-09-28 16:24 胖豆芽 阅读(33) 评论(0) 推荐(0)
摘要: # 判断元素是否...... # 导包 from selenium import webdriver from selenium.webdriver.common.by import By from time import sleep # 定义类 class GetEle: def __init__ 阅读全文
posted @ 2023-09-28 16:08 胖豆芽 阅读(67) 评论(0) 推荐(0)
摘要: cess select 不需要滚动到底部 直接可以获得 test_loc='[href="//www.runoob.com/web/web-buildingprimer.html"]>h4' # 显示底部的文字 # [href="//www.runoob.com/web/web-buildingpr 阅读全文
posted @ 2023-09-28 15:45 胖豆芽 阅读(49) 评论(0) 推荐(0)
摘要: 第一步 导入第一个库 OCR 识别图像上文字的库 pytesseract ;它是Google的Tesseract-OCR引擎的Python封装 导入前需要先安装 方便理解:这个词由python中的py开头;tesseract是立方体,延伸将二维变成立方体 "tesseract"方便记忆:将单词分解为 阅读全文
posted @ 2023-09-28 14:04 胖豆芽 阅读(27) 评论(0) 推荐(0)
摘要: 基础代码 # 导包 from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from sele 阅读全文
posted @ 2023-09-28 09:50 胖豆芽 阅读(38) 评论(0) 推荐(0)
摘要: # 导包 from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium. 阅读全文
posted @ 2023-09-28 09:19 胖豆芽 阅读(11) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 80 下一页