Keylogger-python Key-logger is a program which can read all the keys pressed by the user and record it into a text file. How to run Import pynput package ( pip install pynput). Run the key file in any python IDE and your work is done.