(self, cmd)
return self.getresp()
Send a command and return the response.
Send a command and return the response.
Send a command and return the response .
def sendcmd(self, cmd):
        '''Send a command and return the response.'''
        self.putcmd(cmd)
        return self.getresp()
def sendcmd ( self , cmd ) : self . putcmd ( cmd ) return self . getresp ( )