python kill process windows

import os
os.system("taskkill /im make.exe")

Here is what the above code is Doing:
1. It’s importing the os module.
2. It’s using the os module to run a command.
3. It’s using the os module to run a command that kills a process.
4. It’s using the os module to run a command that kills a process named make.exe.