How do I emulate os.kill() in Windows?

Use win32api:

def