11 2020 档案

摘要:1.用re模块 import re def validateTitle(title): rstr = r"[\/\\\:\*\?\"\<\>\|]" # '/ \ : * ? " < > |' new_title = re.sub(rstr, "_", title) # 替换为下划线 return 阅读全文
posted @ 2020-11-05 09:59 ESP32S3N16R8 阅读(1730) 评论(0) 推荐(0)
摘要:安装方法:pip install pyautogui 1.基本操作: import pyautogui x, y = pyautogui.size() # 屏幕的宽度和高度` print(x,y) #判断x,y是否在屏幕上 x, y = 100, 200 pyautogui.onScreen(x, 阅读全文
posted @ 2020-11-04 13:34 ESP32S3N16R8 阅读(1699) 评论(0) 推荐(0)