Coders Packet

Keyboard Stroke Recorder Using Python

By Surya Sarkar

This Python program will record every action that occurred on the keyboard. This program is mostly used for Parental Control , Company Security, and many other purposes.

A keystroke recorder records every action of the key pressed on the keyboard, usually, the user remains unaware.


You need to install pynput by using pip install pynput.


1. You need to import pynput.keyboard as Keyboard. 

2.  Run the program.

3. When you run the program press any keys from the keyboard.

4. You can also press special keys from the keyboard it will still be recorded.

5. You will see the output in the terminal.

Note:- You run this program on any Python IDE

Download Complete Code


No comments yet