def __init__(self, command, title): status, self.__command = commands.getstatusoutput('which '+command) if status: raise RuntimeError, command + ' cannot be found' self._title = title