'sendthen(delim, data, timeout = default) -> str
A combination of ``send(data)`` and ``recvuntil(delim, timeout)``.'

def sendthen(self, delim, data, timeout=default):

    self.send(data)
    return self.recvuntil(delim, timeout)
