def write8(self, reg, value):
        # Writes an 8-bit value to the specified register/address
        try:
            self.bus.write_byte_data(self.address, reg, value)
        except (IOError):
            print (self.address % "Error accessing 0x%02X: Check your I2C address")
            return -1
dataset/ETHPy150Open cTn-dev/PyComms/PyComms/pycomms.py/PyComms.write8/swapped operands of `%`