def get_int_input(prompt, title): """ ``get_int_input`` prompts the user to input a integer with the given prompt and title. Note: This API function differently on the command line vs. the UI. In the UI a popup is used. On the commandline a simple text prompt is used. :param str prompt: String to prompt with. :param str title: Title of the window when executed in the UI. :rtype: integer value input by the user. :Example: >>> get_int_input("PROMPT>", "getinfo") PROMPT> 10 10 """ value = ctypes.c_longlong() if not core.BNGetIntegerInput(value, prompt, title): return None return value.value
def get_int_input(prompt, title): value = ctypes.c_longlong() if not core.BNGetIntegerInput(value, prompt, title): return None return value.value