bytes.maketrans()
  • References/Python/Python/Built-in Types

static bytes.maketrans(from, to) static bytearray.maketrans(from, to) This static method returns a translation table

2025-01-10 15:47:30
bytes.center()
  • References/Python/Python/Built-in Types

bytes.center(width[, fillbyte]) bytearray.center(width[, fillbyte]) Return a copy of the object centered in a sequence

2025-01-10 15:47:30
bytes.swapcase()
  • References/Python/Python/Built-in Types

bytes.swapcase() bytearray.swapcase() Return a copy of the sequence with all the lowercase ASCII characters converted

2025-01-10 15:47:30
int.bit_length()
  • References/Python/Python/Built-in Types

int.bit_length() Return the number of bits necessary to represent an integer in binary, excluding the sign and leading zeros:

2025-01-10 15:47:30
float.fromhex()
  • References/Python/Python/Built-in Types

classmethod float.fromhex(s) Class method to return the float represented by a hexadecimal string s. The string s

2025-01-10 15:47:30
memoryview.tobytes()
  • References/Python/Python/Built-in Types

tobytes() Return the data in the buffer as a bytestring. This is equivalent to calling the

2025-01-10 15:47:30
bytes.translate()
  • References/Python/Python/Built-in Types

bytes.translate(table[, delete]) bytearray.translate(table[, delete]) Return a copy of the bytes or bytearray object

2025-01-10 15:47:30
str.join()
  • References/Python/Python/Built-in Types

str.join(iterable) Return a string which is the concatenation of the strings in the iterable

2025-01-10 15:47:30
str.startswith()
  • References/Python/Python/Built-in Types

str.startswith(prefix[, start[, end]]) Return True if string starts with the prefix, otherwise return

2025-01-10 15:47:30
dict.copy()
  • References/Python/Python/Built-in Types

copy() Return a shallow copy of the dictionary.

2025-01-10 15:47:30