Simulate Key Presses in Python

Опубликовано: 26 Август 2017
на канале: PyTutorials
347,948
4k

This video demonstrates how to press keys with Python. Using pynput we are able to simulate key presses into any window. I show you how to press and release a key, type special keys and type a sentence. If you have any issues feel free to comment.

🌎 Post with code and a written tutorial: http://nitratine.net/blog/post/simula...
How to setup pip:    • How to Setup Pythons PIP  

🌎 For more keys, go to: http://pythonhosted.org/pynput/keyboa...

📺 Auto Py to Exe:    • Convert PY to EXE Automatically  
📺 Get Keypresses in Python:    • Python Keylogger  

Currently PyInstaller supports up to python 3.8.

🐍 In this video I use Python 3.5.
👍🏼 Feel free to comment with any issues.