code: def write(self, data):
          
          self.device.write(data)
          if self.auto_flush:
              self.flush()
docs: Print any command sent in raw format.
  
          :param bytes data: arbitrary code to be printed.