| __buffer__(self, flags) |
Return a buffer object that exposes the underlying memory of the object. [extrait de __buffer__.__doc__] |
| __bytes__(self) |
Convert this value to exact type bytes. [extrait de __bytes__.__doc__] |
| __getattribute__(self, name) |
Return getattr(self, name). [extrait de __getattribute__.__doc__] |
| __getnewargs__(self) |
|
| __hash__(self) |
Return hash(self). [extrait de __hash__.__doc__] |
| __iter__(self) |
Implement iter(self). [extrait de __iter__.__doc__] |
| __len__(self) |
Return len(self). [extrait de __len__.__doc__] |
| __repr__(self) |
Return repr(self). [extrait de __repr__.__doc__] |
| __str__(self) |
Return str(self). [extrait de __str__.__doc__] |
| capitalize(self) |
B.capitalize() -> copy of B [extrait de capitalize.__doc__] |
| center(self, width, fillchar=b' ') |
Return a centered string of length width. [extrait de center.__doc__] |
| count |
Return the number of non-overlapping occurrences of subsection 'sub' in bytes B[start:end]. [extrait de count.__doc__] |
| decode(self, /, encoding='utf-8', errors='strict') |
Decode the bytes using the codec registered for encoding. [extrait de decode.__doc__] |
| endswith |
Return True if the bytes ends with the specified suffix, False otherwise. [extrait de endswith.__doc__] |
| expandtabs(self, /, tabsize=8) |
Return a copy where all tab characters are expanded using spaces. [extrait de expandtabs.__doc__] |
| find |
Return the lowest index in B where subsection 'sub' is found, such that 'sub' is contained within B[start,end]. [extrait de find.__doc__] |
| fromhex(string) |
Create a bytes object from a string of hexadecimal numbers. [extrait de fromhex.__doc__] |
| hex |
Create a string of hexadecimal numbers from a bytes object. [extrait de hex.__doc__] |
| index |
Return the lowest index in B where subsection 'sub' is found, such that 'sub' is contained within B[start,end]. [extrait de index.__doc__] |
| isalnum(self) |
B.isalnum() -> bool [extrait de isalnum.__doc__] |
| isalpha(self) |
B.isalpha() -> bool [extrait de isalpha.__doc__] |
| isascii(self) |
B.isascii() -> bool [extrait de isascii.__doc__] |
| isdigit(self) |
B.isdigit() -> bool [extrait de isdigit.__doc__] |
| islower(self) |
B.islower() -> bool [extrait de islower.__doc__] |
| isspace(self) |
B.isspace() -> bool [extrait de isspace.__doc__] |
| istitle(self) |
B.istitle() -> bool [extrait de istitle.__doc__] |
| isupper(self) |
B.isupper() -> bool [extrait de isupper.__doc__] |
| join(self, iterable_of_bytes) |
Concatenate any number of bytes objects. [extrait de join.__doc__] |
| ljust(self, width, fillchar=b' ') |
Return a left-justified string of length width. [extrait de ljust.__doc__] |
| lower(self) |
B.lower() -> copy of B [extrait de lower.__doc__] |
| lstrip(self, bytes=None) |
Strip leading bytes contained in the argument. [extrait de lstrip.__doc__] |
| maketrans(frm, to) |
Return a translation table usable for the bytes or bytearray translate method. [extrait de maketrans.__doc__] |
| partition(self, sep) |
Partition the bytes into three parts using the given separator. [extrait de partition.__doc__] |
| removeprefix(self, prefix) |
Return a bytes object with the given prefix string removed if present. [extrait de removeprefix.__doc__] |
| removesuffix(self, suffix) |
Return a bytes object with the given suffix string removed if present. [extrait de removesuffix.__doc__] |
| replace(self, old, new, count=-1) |
Return a copy with all occurrences of substring old replaced by new. [extrait de replace.__doc__] |
| rfind |
Return the highest index in B where subsection 'sub' is found, such that 'sub' is contained within B[start,end]. [extrait de rfind.__doc__] |
| rindex |
Return the highest index in B where subsection 'sub' is found, such that 'sub' is contained within B[start,end]. [extrait de rindex.__doc__] |
| rjust(self, width, fillchar=b' ') |
Return a right-justified string of length width. [extrait de rjust.__doc__] |
| rpartition(self, sep) |
Partition the bytes into three parts using the given separator. [extrait de rpartition.__doc__] |
| rsplit(self, /, sep=None, maxsplit=-1) |
Return a list of the sections in the bytes, using sep as the delimiter. [extrait de rsplit.__doc__] |
| rstrip(self, bytes=None) |
Strip trailing bytes contained in the argument. [extrait de rstrip.__doc__] |
| split(self, /, sep=None, maxsplit=-1) |
Return a list of the sections in the bytes, using sep as the delimiter. [extrait de split.__doc__] |
| splitlines(self, /, keepends=False) |
Return a list of the lines in the bytes, breaking at line boundaries. [extrait de splitlines.__doc__] |
| startswith |
Return True if the bytes starts with the specified prefix, False otherwise. [extrait de startswith.__doc__] |
| strip(self, bytes=None) |
Strip leading and trailing bytes contained in the argument. [extrait de strip.__doc__] |
| swapcase(self) |
B.swapcase() -> copy of B [extrait de swapcase.__doc__] |
| title(self) |
B.title() -> copy of B [extrait de title.__doc__] |
| translate(self, table, /, delete=b'') |
Return a copy with each character mapped by the given translation table. [extrait de translate.__doc__] |
| upper(self) |
B.upper() -> copy of B [extrait de upper.__doc__] |
| zfill(self, width) |
Pad a numeric string with zeros on the left, to fill a field of the given width. [extrait de zfill.__doc__] |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :