def _window_enum_callback(self, hwnd, wildcard):
        if re.match(wildcard, str(win32gui.GetWindowText(hwnd))) != None:
            self._handle = hwnd
Call back func which checks each open window and matches the name of window using reg ex
dataset/ETHPy150Open hww712/knitter/knitter/wingui.py/WindowFinder._window_enum_callback