(self, cmd, args="")
return self.getreply()
Send a command, and return its response code.
Send a command, and return its response code.
Send a command and return its response code .
def docmd(self, cmd, args=""):
        """Send a command, and return its response code."""
        self.putcmd(cmd, args)
        return self.getreply()
def docmd ( self , cmd , args = "" ) : self . putcmd ( cmd , args ) return self . getreply ( )