I was looking for a way to simulate python's os.kill() in windows.Finally ended up with the following code. I tried using win32api also.
handle = subprocess.Popen("someprocess here", shell=False)
subprocess.Popen("taskkill /F /T /PID %i"%handle.pid , shell=True)