Logo

Προηγούμενο θέμα

rlcompleter — Completion function for GNU readline

Επόμενο θέμα

struct — Interpret bytes as packed binary data

Αυτή η σελίδα

  • Ανέφερε ένα Bug
  • Προβολή κώδικα

Πλοήγηση

  • ευρετήριο
  • μονάδες |
  • επόμενο |
  • προηγούμενο |
  • python logo
  • Python »
  • 3.9.23 Documentation »
  • The Python Standard Library »
  • |

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 Text Processing Services 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 Τύποι δυαδικής ακολουθίας — bytes, bytearray, memoryview.

  • struct — Interpret bytes as packed binary data
    • Συναρτήσεις και εξαιρέσεις
    • Συμβολοσειρές μορφοποίησης
      • Διάταξη Byte, Μέγεθος και Στοίχιση
      • Χαρακτήρες μορφής
      • Παραδείγματα
    • Κλάσεις
  • codecs — Codec registry and base classes
    • Codec Base Classes
      • Error Handlers
      • Stateless Encoding and Decoding
      • Incremental Encoding and Decoding
        • IncrementalEncoder Objects
        • IncrementalDecoder Objects
      • Stream Encoding and Decoding
        • StreamWriter Objects
        • StreamReader Objects
        • StreamReaderWriter Objects
        • StreamRecoder Objects
    • 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

Προηγούμενο θέμα

rlcompleter — Completion function for GNU readline

Επόμενο θέμα

struct — Interpret bytes as packed binary data

Αυτή η σελίδα

  • Ανέφερε ένα Bug
  • Προβολή κώδικα

Πλοήγηση

  • ευρετήριο
  • μονάδες |
  • επόμενο |
  • προηγούμενο |
  • python logo
  • Python »
  • 3.9.23 Documentation »
  • The Python Standard Library »
  • |
© Copyright 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.

Τελευταία ενημέρωση στις Ιουλ 08, 2025. Found a bug?
Created using Sphinx 2.4.4.