Keylogger This code saves all the keys you press on your keyboard in a text file in the same directory. Requirements install pynput module using pip install pynput command.