- 博客(27)
- 资源 (5)
- 收藏
- 关注
原创 difflib xlrd模糊查找
在问题列表中找到包含关键词的问题。root.title("自动回复")# 使用语音合成播报回复内容。# 绑定回车键到自动回复函数。# 读取 Excel 数据。# 初始化语音合成引擎。
2023-06-24 17:49:37
179
原创 python折线图及柱状图实现坐标显示
运行上面的代码后,会得到一个新的 Excel 文件,其中第一列为自动生成的序号列,从 1 开始逐行递增。方法将修改后的数据保存为新的 Excel 文件。表示新列的数据,也就是序号。表示将新列插入到第一列,第二个参数。是新列的名称,第三个参数。
2023-04-23 19:50:40
754
原创 查找图像点击位置
#!/usr/bin/env python# -*- coding: utf-8 -*-import pyautoguiimport timedef zan(): time.sleep(2.5) # 等待 0.5 秒 left, top, width, height = pyautogui.locateOnScreen('33.png') # 寻找 点赞图片; center = pyautogui.center((left, top, width, heigh.
2022-05-26 20:02:15
164
原创 【无标题】
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <link rel="stylesheet" href="style/i.
2022-05-11 22:28:39
96
原创 模板web html
<!DOCTYPE html><html><head><meta charset="utf-8"> <title>物管周报管理系统(runoob.com)</title> <style>#header { background-color:black; color:white; text-align:center; padding:4px;}div.img { ...
2022-05-08 14:26:54
294
原创 【无标题】html前端
<!DOCTYPE html><html><head><meta charset="utf-8"> <title>物管伺服器管理系统(runoob.com)</title> <style>#header { background-color:black; color:white; text-align:center; padding:5px;}div.img { ...
2022-05-08 12:36:02
109
原创 Python GUI设置
import tkinterimport timedef gettime(): timestr = time.strftime("%H:%M:%S") # 获取当前时间并转换为字符串 lb.configure(text = timestr) # 重新设置标签文本 root.after(1000, gettime) # 每隔1S调用函数 gettime 自身获取时间root = tkinter.Tk()root.t.
2022-04-21 22:11:12
785
原创 Python检测图片不一致时邮件回报
#!/usr/bin/python#-*- coding:cp936 -*-import osimport cv2import cv2from PIL import Imageimport numpy as npimage1 = cv2.imdecode(np.fromfile(r'361SAP.jpg',dtype=np.uint8),-1)#模板圖片模板image2 = cv2.imdecode(np.fromfile(r'361SAP.jpg',dtype=np.uint8),-1).
2022-04-21 12:08:12
493
转载 python摄像头识别人脸出现绿框
import cv2cap = cv2.VideoCapture(0)while(True): # Capture frame-by-frame ret, frame = cap.read() # Our operations on the frame come here gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) xmlfile = r'D:\Anaconda\Lib\site-packages\cv2.
2022-04-20 19:55:26
358
python课时17【视频讲解】1.3 项目 用 Excel 和 Python 自动生成统计报表
2022-04-21
python【视频讲解】1.1 读写 用必备利器 xlrd + xlwt 读写 Excel
2022-04-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人