This video of mine shows how incredibly easy it is to create a basic keylogger in Python, using only 7 lines of code! However, you can expand on the code and create a really nice keylogger, if you like. It is one of the commands that I implemented in my command and control tool and it works really well.