Files
kadastr13/coordnate.py
2025-07-05 02:27:54 +05:00

11 lines
272 B
Python

import pyautogui
import time
print("Наведите курсор и нажмите Ctrl+C")
try:
while True:
x, y = pyautogui.position()
print(f"X: {x}, Y: {y}", end="\r")
time.sleep(0.1)
except KeyboardInterrupt:
print("\nГотово!")