LaunchMode#

class ansys.acp.core.LaunchMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Available launch modes for ACP.

Methods

LaunchMode.encode(/[, encoding, errors])

Encode the string using the codec registered for encoding.

LaunchMode.replace(old, new[, count])

Return a copy with all occurrences of substring old replaced by new.

LaunchMode.split(/[, sep, maxsplit])

Return a list of the substrings in the string, using sep as the separator string.

LaunchMode.rsplit(/[, sep, maxsplit])

Return a list of the substrings in the string, using sep as the separator string.

LaunchMode.join(iterable, /)

Concatenate any number of strings.

LaunchMode.capitalize(/)

Return a capitalized version of the string.

LaunchMode.casefold(/)

Return a version of the string suitable for caseless comparisons.

LaunchMode.title(/)

Return a version of the string where each word is titlecased.

LaunchMode.center(width[, fillchar])

Return a centered string of length width.

LaunchMode.count(sub[, start[, end]])

Return the number of non-overlapping occurrences of substring sub in string S[start:end].

LaunchMode.expandtabs(/[, tabsize])

Return a copy where all tab characters are expanded using spaces.

LaunchMode.find(sub[, start[, end]])

Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end].

LaunchMode.partition(sep, /)

Partition the string into three parts using the given separator.

LaunchMode.index(sub[, start[, end]])

Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end].

LaunchMode.ljust(width[, fillchar])

Return a left-justified string of length width.

LaunchMode.lower(/)

Return a copy of the string converted to lowercase.

LaunchMode.lstrip([chars])

Return a copy of the string with leading whitespace removed.

LaunchMode.rfind(sub[, start[, end]])

Return the highest index in S where substring sub is found, such that sub is contained within S[start:end].

LaunchMode.rindex(sub[, start[, end]])

Return the highest index in S where substring sub is found, such that sub is contained within S[start:end].

LaunchMode.rjust(width[, fillchar])

Return a right-justified string of length width.

LaunchMode.rstrip([chars])

Return a copy of the string with trailing whitespace removed.

LaunchMode.rpartition(sep, /)

Partition the string into three parts using the given separator.

LaunchMode.splitlines(/[, keepends])

Return a list of the lines in the string, breaking at line boundaries.

LaunchMode.strip([chars])

Return a copy of the string with leading and trailing whitespace removed.

LaunchMode.swapcase(/)

Convert uppercase characters to lowercase and lowercase characters to uppercase.

LaunchMode.translate(table, /)

Replace each character in the string using the given translation table.

LaunchMode.upper(/)

Return a copy of the string converted to uppercase.

LaunchMode.startswith(prefix[, start[, end]])

Return True if S starts with the specified prefix, False otherwise.

LaunchMode.endswith(suffix[, start[, end]])

Return True if S ends with the specified suffix, False otherwise.

LaunchMode.removeprefix(prefix, /)

Return a str with the given prefix string removed if present.

LaunchMode.removesuffix(suffix, /)

Return a str with the given suffix string removed if present.

LaunchMode.isascii(/)

Return True if all characters in the string are ASCII, False otherwise.

LaunchMode.islower(/)

Return True if the string is a lowercase string, False otherwise.

LaunchMode.isupper(/)

Return True if the string is an uppercase string, False otherwise.

LaunchMode.istitle(/)

Return True if the string is a title-cased string, False otherwise.

LaunchMode.isspace(/)

Return True if the string is a whitespace string, False otherwise.

LaunchMode.isdecimal(/)

Return True if the string is a decimal string, False otherwise.

LaunchMode.isdigit(/)

Return True if the string is a digit string, False otherwise.

LaunchMode.isnumeric(/)

Return True if the string is a numeric string, False otherwise.

LaunchMode.isalpha(/)

Return True if the string is an alphabetic string, False otherwise.

LaunchMode.isalnum(/)

Return True if the string is an alpha-numeric string, False otherwise.

LaunchMode.isidentifier(/)

Return True if the string is a valid Python identifier, False otherwise.

LaunchMode.isprintable(/)

Return True if the string is printable, False otherwise.

LaunchMode.zfill(width, /)

Pad a numeric string with zeros on the left, to fill a field of the given width.

LaunchMode.format(*args, **kwargs)

Return a formatted version of S, using substitutions from args and kwargs.

LaunchMode.format_map(mapping)

Return a formatted version of S, using substitutions from mapping.

LaunchMode.maketrans(x[, y, z])

Return a translation table usable for str.translate().

Attributes

LaunchMode.DIRECT

LaunchMode.DOCKER_COMPOSE

LaunchMode.CONNECT