def _return_focus_w32(self): w32win = win32gui.FindWindow(None, KWARGS['parent_title']) win32gui.SetForegroundWindow(w32win)