def do_google(self, line): 'Google manipulation. Use search and suggest services' try: args = GoogleModule.parse_cmd(line) self.current_module = GoogleModule(self) self.current_module.execute_method(args[0], args[1:]) except Exception as e: self.print_line(e)
def complete_google(self, text, line, begidx, endidx): return GoogleModule.complete_methods(text)