Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python »
  • id 3.8.3 Dokumentasi »
  • Pustaka Standar Python »
  • |

Binary Data ServicesΒΆ

The modules described in this chapter provide some basic services operations for manipulation of binary data. Other operations on binary data, specifically in relation to file formats and network protocols, are described in the relevant sections.

Some libraries described under Layanan Pemrosesan Teks also work with either ASCII-compatible binary formats (for example, re) or all binary data (for example, difflib).

In addition, see the documentation for Python's built-in binary data types in Binary Sequence Types --- bytes, bytearray, memoryview.

  • struct --- Interpret bytes as packed binary data
    • Functions and Exceptions
    • Format Strings
      • Byte Order, Size, and Alignment
      • Format Characters
      • Contoh-contoh
    • Kelas-kelas
  • codecs --- Codec registry and base classes
    • Codec Base Classes
      • Penangan Kesalahan
      • Stateless Encoding and Decoding
      • Incremental Encoding and Decoding
        • IncrementalEncoder Objects
        • IncrementalDecoder Objects
      • Stream Encoding and Decoding
        • Objek StreamWriter
        • Objek StreamReader
        • Objek StreamReaderWriter
        • Objek StreamRecoder
    • Encodings and Unicode
    • Standard Encodings
    • Python Specific Encodings
      • Text Encodings
      • Binary Transforms
      • Text Transforms
    • encodings.idna --- Internationalized Domain Names in Applications
    • encodings.mbcs --- Windows ANSI codepage
    • encodings.utf_8_sig --- UTF-8 codec with BOM signature

Topik sebelumnya

rlcompleter --- Completion function for GNU readline

Topik berikutnya

struct --- Interpret bytes as packed binary data

Halaman Ini

  • Laporkan Bug
  • Lihat Sumber

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python »
  • id 3.8.3 Dokumentasi »
  • Pustaka Standar Python »
  • |
© Hak Cipta 2001-2020, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

Terakhir diperbarui pada Jun 18, 2020. Found a bug?
Created using Sphinx 2.3.1.