Keyloggers are a type of monitoring software designed to record keystrokes made by a user. One of the oldest forms of cyber threat, these keystroke loggers record the information you type into a website or application and send to back to a third party!
https://medium.com/@dj_techguy/python-keylogger-tutorial-ef178d02f24a