parameters: (self, cmd, args="")
return_statement: return self.getreply()
docstring: Send a command, and return its response code.
docstring_summary: Send a command, and return its response code.
docstring_tokens: Send a command and return its response code .
function: def docmd(self, cmd, args=""):
          """Send a command, and return its response code."""
          self.putcmd(cmd, args)
          return self.getreply()
function_tokens: def docmd ( self , cmd , args = "" ) : self . putcmd ( cmd , args ) return self . getreply ( )