Python logo

Chủ đề trước

rlcompleter --- Completion function for GNU readline

Chủ đề tiếp

struct --- Interpret bytes as packed binary data

This page

  • Report a bug
  • Improve this page
  • Show source
  • Show translation source

Điều hướng

  • chỉ mục
  • các mô-đun |
  • xem tiếp |
  • xem lại |
  • Python logo
  • Python »
  • 3.15.0rc3 Documentation »
  • The Python standard library »
  • Binary Data Services
  • |
  • |

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 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
      • Ví dụ
    • Applications
      • Native Formats
      • Standard Formats
    • Classes
  • 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
      • Standalone Codec Functions
      • Text Transforms
    • encodings --- Encodings package
    • encodings.idna --- Internationalized Domain Names in Applications
    • encodings.mbcs --- Windows ANSI codepage
    • encodings.utf_8_sig --- UTF-8 codec with BOM signature

Chủ đề trước

rlcompleter --- Completion function for GNU readline

Chủ đề tiếp

struct --- Interpret bytes as packed binary data

This page

  • Report a bug
  • Improve this page
  • Show source
  • Show translation source
«

Điều hướng

  • chỉ mục
  • các mô-đun |
  • xem tiếp |
  • xem lại |
  • Python logo
  • Python »
  • 3.15.0rc3 Documentation »
  • The Python standard library »
  • Binary Data Services
  • |
  • |
© Bản quyền 2001 Python Software Foundation.
Trang này được cấp phép theo Giấy phép của Tổ chức Phần mềm Python Phiên bản 2.
Các ví dụ, hướng dẫn và mã nguồn khác trong tài liệu này còn được cấp phép bổ sung theo Giấy phép BSD Không Điều khoản.
Xem Lịch sử và Giấy phép để biết thêm thông tin.

Python Software Foundation là một tổ chức phi lợi nhuận. Vui lòng quyên góp.

Cập nhật lần cuối vào thg 10 04, 2026 (03:53 UTC). Tìm thấy lỗi?
Được tạo bằng Sphinx 8.2.3.