I am working to make a small keylogger with Python, by using the pyHook, pythoncom and Pywin32 modules. Here is my code:
import pyHook, pythoncom, sys, loggi
pip install pypiwin32 worked for me
pip install pypiwin32