def get_window_hwnd(self, wname):
    hwnd, win = self._enumerate_windows()

    for w in win:
      if w.lower() in wname.lower():
        return hwnd[win.index(w)]

    return None  #Not found
dataset/ETHPy150Open chriskiehl/pyrobot/pyrobot.py/Robot.get_window_hwnd/swapped operands of `in`