I have made a simple keylogger program in python. The program works perfectly with Python Interpreter. Then, I converted it into an executable using cx_freeze.
![The Build Folder:](https://i.stack.imgur.com/7c2am.png)
The problem now is that there are import errors.
![The Error Shown:](https://i.stack.imgur.com/inX00.png)
I can't find the relevant .pyd files for pythoncom and pywintypes. So, where can I find these files? The surprising thing is that when I copy and paste pythoncom.py and pywintypes.py into the folder, the executable works.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…