def argv_catch_int_list(Cl, VariableName, Option, Default): """RETURNS: list of integers built from the list of no-minus followers of the given option. """ return [ get_integer_parameter_value(str(Option)[1:-1], x) for x in argv_catch_list(Cl, Option, Default) ]
def argv_catch_int(Cl, Option, Default): """RETURNS: Integer for the given variable name. """ return get_integer_parameter_value( str(Option)[1:-1], Cl.follow("%i" % Default, Option))
def argv_catch_int(Cl, Option, Default): """RETURNS: Integer for the given variable name. """ return get_integer_parameter_value(str(Option)[1:-1], Cl.follow("%i" % Default, Option))