---
title: "Discussion on \"How to Control Mouse and Keyboard with Python\" | Hashnode"
description: "Discussion on \"How to Control Mouse and Keyboard with Python\". how to install\nMy computer uses Anaconda3, conda 4.10.1\npip install pyautogui\nFinding Coordinate\nIt will display current mouse coordinate every second.\n\nimport pyautogui\nimport time\n\nwhile True:\n print(\"Current Mouse Position : \", pyautogui.position(..."
url: "https://hashnode.com/posts/how-to-control-mouse-and-keyboard-with-python/62d06887dec7a6eae9b59005"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Control Mouse and Keyboard with Python](https://eunhanlee.hashnode.dev/how-to-control-mouse-and-keyboard-with-python?utm_source=hashnode&utm_medium=feed)

how to install My computer uses Anaconda3, conda 4.10.1 pip install pyautogui Finding Coordinate It will display current mouse coordinate every second. import pyautogui import time while True: print("Current Mouse Position : ", pyautogui.position(...

Jul 14, 2022 · 2 min read · eunhanlee.hashnode.dev  
Read the article

-   [#python3](https://hashnode.com/tag/python3)
-   [#keyboard](https://hashnode.com/tag/keyboard)
-   [#control-system](https://hashnode.com/tag/control-system)
-   [#mouse](https://hashnode.com/tag/mouse)

## Written by

[Han](https://hashnode.com/@EunHaSu)

@EunHaSu · VA, US

  
[View profile](https://hashnode.com/@EunHaSu)

Java, Android, Algorithm

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
