This commit is contained in:
2026-01-30 11:28:35 +08:00
commit f1831c31b4
399 changed files with 860978 additions and 0 deletions
@@ -0,0 +1,24 @@
#! python3
import pyautogui, sys,time
#功能说明:用于记录需要操作的位置信息
#输入:鼠标移动到需要记录信息的位置
#输出:位置代表的含义,位置x,y坐标信息
print('程序说明:三秒后程序开始记录位置,每次位置记录间隔为5秒')
# try:
# while True:
# x, y = pyautogui.position()
# positionStr = 'X: ' + str(x).rjust(4) + ' Y: ' + str(y).rjust(4)
# print(positionStr, end='')
# print('\b' * len(positionStr), end='', flush=True)
# except KeyboardInterrupt:
# print('\n')
time.sleep(3)
try:
while True:
print('请移动鼠标至需要的位置!')
Point = pyautogui.position()
str = input("请输入位置代表的含义:")
print(str,'',Point)
time.sleep(5)
except:
print('\n')