keylogger.py: Python code that captures keystrokes and writes them to a file called keystrokes.txt. The code listens for both keypress and release events, but only writes the press events to the file.
logsender.py: It sends the keystrokes.txt to the e-mail address you want. See my other repositories for Mail Sender versions. chck: https://github.com/SilentDeath53/MailSender
It is for educational and exemplary purposes and should not be used for any bad action/malicious activities.