Answers for "geting cursors position in python"

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

Python Answers by Framework

Browse Popular Code Answers by Language