def find(self, start=0, name=None):
        name = name or self.DEVNAME
        assert name is not None, "EventDevice: no name to find"
        for d in range(start, 16):
            filename = (d,) % "/dev/input/event%d"
            if os.path.exists(filename):
                try:
                    self.open(filename)
                except (OSError, IOError): # probably no permissions
                    pass
                else:
                    if name in self.name:
                        return
        self.close()
        raise IOError("Input device %r not found." % (name,))
dataset/ETHPy150Open kdart/pycopia/core/pycopia/OS/Linux/Input.py/EventDevice.find/swapped operands of `%`