Python logo

Topik sebelumnya

rlcompleter --- Completion function for GNU readline

Topik berikutnya

struct --- Interpret bytes as packed binary data

Halaman Ini

  • Laporkan Bug
  • Perlihatkan Sumber

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.13.3 Documentation »
  • Pustaka Standar Python »
  • Servis Data Binary
  • |
  • |

Servis Data Binary¶

Modul-modul yang dijelaskan pada bab ini menyediakan operasi-operasi servis dasar untuk memanipulasi data binary. Operasi lainnya pada data binary, khususnya yang berkaitan dengan format file dan protokol jaringan, dijelaskan pada bagian yang relevan.

Beberapa pustaka yang dijelaskan pada Layanan Pemrosesan Teks juga bekerja dengan format-format binary yang ASCII-compatible (contohnya, re) maupun semua data binary (contohnya, difflib).

Sebagai tambahan, lihat dokumentasi untuk tipe data binary bawaan Python di 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
    • Applications
      • Native Formats
      • Standard Formats
    • 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
  • Perlihatkan Sumber
«

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.13.3 Documentation »
  • Pustaka Standar Python »
  • Servis Data Binary
  • |
  • |
© Hak Cipta 2001-2025, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

Terakhir diperbarui pada Mei 18, 2025 (06:38 UTC). Found a bug?
Created using Sphinx 8.2.3.