Answers for "python how to get mouse position on display"

7

get mouse postition python

>>> import pyautogui
>>> pyautogui.position()
Posted by: Guest on March-27-2021
2

python get current mouse position

from pynput.mouse import Button, Controller
mouse = Controller()
current_mouse_position = mouse.position
print(current_mouse_position)
Posted by: Guest on February-23-2020

Code answers related to "python how to get mouse position on display"

Python Answers by Framework

Browse Popular Code Answers by Language