ascii_decode(data, errors=None) |
|
ascii_encode(str, errors=None) |
|
backslashreplace_errors |
Implements the 'backslashreplace' error handling, which replaces malformed data with a backslashed escape sequence. [extrait de backslashreplace_errors.__doc__] |
charmap_build(map) |
|
charmap_decode(data, errors=None, mapping=None) |
|
charmap_encode(str, errors=None, mapping=None) |
|
decode(obj, encoding='utf-8', errors='strict') |
Decodes obj using the codec registered for encoding. [extrait de decode.__doc__] |
encode(obj, encoding='utf-8', errors='strict') |
Encodes obj using the codec registered for encoding. [extrait de encode.__doc__] |
EncodedFile(file, data_encoding, file_encoding=None, errors='strict') |
Return a wrapped version of file which provides transparent [extrait de EncodedFile.__doc__] |
escape_decode(data, errors=None) |
|
escape_encode(data, errors=None) |
|
getdecoder(encoding) |
Lookup up the codec for the given encoding and return [extrait de getdecoder.__doc__] |
getencoder(encoding) |
Lookup up the codec for the given encoding and return [extrait de getencoder.__doc__] |
getincrementaldecoder(encoding) |
Lookup up the codec for the given encoding and return [extrait de getincrementaldecoder.__doc__] |
getincrementalencoder(encoding) |
Lookup up the codec for the given encoding and return [extrait de getincrementalencoder.__doc__] |
getreader(encoding) |
Lookup up the codec for the given encoding and return [extrait de getreader.__doc__] |
getwriter(encoding) |
Lookup up the codec for the given encoding and return [extrait de getwriter.__doc__] |
ignore_errors |
Implements the 'ignore' error handling, which ignores malformed data and continues. [extrait de ignore_errors.__doc__] |
iterdecode(iterator, encoding, errors='strict', **kwargs) |
|
iterencode(iterator, encoding, errors='strict', **kwargs) |
|
latin_1_decode(data, errors=None) |
|
latin_1_encode(str, errors=None) |
|
lookup(encoding) |
Looks up a codec tuple in the Python codec registry and returns a CodecInfo object. [extrait de lookup.__doc__] |
lookup_error(name) |
lookup_error(errors) -> handler [extrait de lookup_error.__doc__] |
make_encoding_map(decoding_map) |
Creates an encoding map from a decoding map. [extrait de make_encoding_map.__doc__] |
make_identity_dict(rng) |
make_identity_dict(rng) -> dict [extrait de make_identity_dict.__doc__] |
namereplace_errors |
Implements the 'namereplace' error handling, which replaces an unencodable character with a \N{...} escape sequence. [extrait de namereplace_errors.__doc__] |
open(filename, mode='r', encoding=None, errors='strict', buffering=-1) |
Open an encoded file using the given mode and return [extrait de open.__doc__] |
raw_unicode_escape_decode(data, errors=None, final=True) |
|
raw_unicode_escape_encode(str, errors=None) |
|
readbuffer_encode(data, errors=None) |
|
register(search_function) |
Register a codec search function. [extrait de register.__doc__] |
register_error(errors, handler) |
Register the specified error handler under the name errors. [extrait de register_error.__doc__] |
replace_errors |
Implements the 'replace' error handling, which replaces malformed data with a replacement marker. [extrait de replace_errors.__doc__] |
strict_errors |
Implements the 'strict' error handling, which raises a UnicodeError on coding errors. [extrait de strict_errors.__doc__] |
unicode_escape_decode(data, errors=None, final=True) |
|
unicode_escape_encode(str, errors=None) |
|
unregister(search_function) |
Unregister a codec search function and clear the registry's cache. [extrait de unregister.__doc__] |
utf_16_be_decode(data, errors=None, final=False) |
|
utf_16_be_encode(str, errors=None) |
|
utf_16_decode(data, errors=None, final=False) |
|
utf_16_encode(str, errors=None, byteorder=0) |
|
utf_16_ex_decode(data, errors=None, byteorder=0, final=False) |
|
utf_16_le_decode(data, errors=None, final=False) |
|
utf_16_le_encode(str, errors=None) |
|
utf_32_be_decode(data, errors=None, final=False) |
|
utf_32_be_encode(str, errors=None) |
|
utf_32_decode(data, errors=None, final=False) |
|
utf_32_encode(str, errors=None, byteorder=0) |
|
utf_32_ex_decode(data, errors=None, byteorder=0, final=False) |
|
utf_32_le_decode(data, errors=None, final=False) |
|
utf_32_le_encode(str, errors=None) |
|
utf_7_decode(data, errors=None, final=False) |
|
utf_7_encode(str, errors=None) |
|
utf_8_decode(data, errors=None, final=False) |
|
utf_8_encode(str, errors=None) |
|
xmlcharrefreplace_errors |
Implements the 'xmlcharrefreplace' error handling, which replaces an unencodable character with the appropriate XML character reference. [extrait de xmlcharrefreplace_errors.__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 :