code: def readline(self, timeout=None):  # timeout is not in use
          
          fil = self.port.makefile()
          line = fil.readline()
          return strip_escape(line.strip())
docs: Read data from port and strip escape characters
          :param timeout:
          :return: Stripped line.