(self, args)
Dispatches a string command to a method.
Dispatches a string command to a method.
Dispatches a string command to a method .
def Dispatch(self, args):
        """Dispatches a string command to a method."""
        if len(args) < 1:
            raise Exception("Not enough arguments")

        method = "Exec%s" % self._CommandifyName(args[0])
        getattr(self, method)(*args[1:])
def Dispatch ( self , args ) : if len ( args ) < 1 : raise Exception ( "Not enough arguments" ) method = "Exec%s" % self . _CommandifyName ( args [ 0 ] ) getattr ( self , method ) ( * args [ 1 : ] )