str.encode(encoding="utf-8", errors="strict") Return an encoded version of the string as a bytes object. Default encoding is
bytearray.expandtabs(tabsize=8) Return a copy of the sequence where all ASCII tab characters are replaced by one or more ASCII
bytearray.upper() Return a copy of the sequence with all the lowercase ASCII characters converted to their corresponding uppercase
container.__iter__() Return an iterator object. The object is required to support the iterator protocol described below. If
readonly A bool indicating whether the memory is read only.
difference_update(other, ...) set -= other | ... Update the set, removing elements found in others.
bytearray.rindex(sub[, start[, end]]) Like rfind() but raises
bytes.count(sub[, start[, end]]) bytearray.count(sub[, start[, end]]) Return the number of non-overlapping occurrences
class.__subclasses__() Each class keeps a list of weak references to its immediate subclasses. This method returns a list of
str.strip([chars]) Return a copy of the string with the leading and trailing characters removed. The chars argument
Page 17 of 20