摘要: 记录python下载地址,国内镜像,全版本下载 https://registry.npmmirror.com/binary.html?path=python/ 阅读全文
posted @ 2022-11-09 16:25 真小鱼干 阅读(259) 评论(0) 推荐(0)
摘要: 1.lxml的安装 pip install lxml2.导入lxml 的 etree 库 from lxml import etree 示例1 from lxml import etree html = etree.HTML(response.text) ret_list = html.xpath( 阅读全文
posted @ 2022-10-28 16:54 真小鱼干 阅读(63) 评论(0) 推荐(0)
摘要: # 对后台窗口截图import win32gui, win32ui, win32conimport cv2import numpydef background_capture(hWnd, save_img_path): # os.popen(r"C:\Users\mkn1szh\Desktop\sc 阅读全文
posted @ 2022-10-28 15:09 真小鱼干 阅读(439) 评论(0) 推荐(0)
摘要: import numpy as np import cv2 from PIL import ImageGrab from demo import get_XY, classify_hist_with_split import time cap = cv2.VideoCapture(0) # 开启摄像 阅读全文
posted @ 2022-10-28 08:54 真小鱼干 阅读(66) 评论(0) 推荐(0)