Python Keylogger Tutorial - 4 - Using Pynput Library

Опубликовано: 02 Январь 2019
на канале: buildwithpython
24,232
232

In this video we are going to learn how to listen for keystrokes. So here is what's gonna happen. Our python file will be running in the background and kind of listening for any kind of key presses on the keyboard. And once a key is pressed it's going to send that key to the function responsible for writing to a file. Which we will soon create. The function will take that key and store it in the log.txt file.

Now listening for keystrokes in python is done by a package called pynput. So lets learn about pynput a little bit.
Pynput is a library responsible for handling input streams. Input stream is basically anything using which we can give input on our computer. For example, our mouse and our keyboard.


Using pynput we can not only listen for mouse clicks or keyboard keystrokes but also control both of them. So if we want our mouse to move from one position to another position on screen using python, It can done using this pynput package.

Full Playlist -    • Building a keylogger using Python + Pynput  
Source Code - https://github.com/attreyabhatt/Pytho...

Subscribe -    / @buildwithpython  
Website - www.buildwithpython.com
Instagram -   / buildwithpython  

#python


На этой странице сайта вы можете посмотреть видео онлайн Python Keylogger Tutorial - 4 - Using Pynput Library длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь buildwithpython 02 Январь 2019, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 24,232 раз и оно понравилось 232 зрителям. Приятного просмотра!