Shameless plug; I wrote a few popular articles on 0x00sec about Python malware on Windows just to show how simple and easy it is to build either using ctypes to call WinAPI functions or using pywin32 wrapper which makes the whole thing a lot faster.
See part 1 here https://0x00sec.org/t/malware-writing-python-malware-part-1/...
Definitely not the way to go if you have limited memory and need to write tiny shell code but it’s good enough for a stage 2 payload.