# -*- coding: utf-8 -*-
"""

@author: Administrator
"""
import time
import pyautogui
try:
    while True:
        time.sleep()
        x, y = pyautogui.position()
        print(x,y)
except KeyboardInterrupt:
    print('\nExit.')
    

实时获取鼠标位置

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
猜你喜欢
  • 2021-05-30
  • 2021-12-23
  • 2022-01-26
  • 2021-12-05
  • 2022-12-23
相关资源
相似解决方案