def get_active_window_id(self):
        out = getoutput("xprop -root _NET_ACTIVE_WINDOW")
        try:
            win_id = out.split('#')[-1].split(',')[0].strip()
        except __HOLE__:
            return None
        return win_id
dataset/ETHPy150Open generalov/look-at/look_at/wmctrl.py/WmCtrl.get_active_window_id