So, I'm trying to make a simple keylogger and I have this next bit of code:
try:
import pyHook, pythoncom
except:
os.system("pip install pypiwin32")
os.system("pip install pyHook")
import pyHook, pythoncom
the installation of pypiwin32 works, and after doing the command
os.system("pip install pypiwin32")
I can use pythoncom. however, the second command doesn't seem to work.
I want this to work on every computer, hence - without a need to download a whl file. is it possible to install pyHook like that?
thanks.