code: def killProcess(self, pid):
          
          SYNCHRONIZE = 0x00100000
          PROCESS_TERMINATE = 0x0001
          hProcess = self._kernel32.OpenProcess(SYNCHRONIZE|PROCESS_TERMINATE, True, pid)
          result = self._kernel32.TerminateProcess(hProcess, 0)
          self._kernel32.CloseHandle(hProcess)
docs: Kills the process with the specified PID (if possible)