Python logo

موضوع قبلی

rlcompleter --- Completion function for GNU readline

موضوع بعدی

struct --- Interpret bytes as packed binary data

این صفحه

  • گزارش یک اشکال
  • بهبود این صفحه
  • نمایش منبع
  • نمایش منبع ترجمه
این یک پیش‌نمایش مستقرشده است که از یک درخواست ادغام ایجاد شده است. برای مشاهده‌ی مستندات معتبر، به نسخه‌ی پایدار فعلی.

ناوبری

  • فهرست
  • ماژول ها |
  • بعدی |
  • قبلی |
  • Python logo
  • Python »
  • 3.16.0a0 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
      • Type Codes
      • Examples
    • 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

موضوع قبلی

rlcompleter --- Completion function for GNU readline

موضوع بعدی

struct --- Interpret bytes as packed binary data

این صفحه

  • گزارش یک اشکال
  • بهبود این صفحه
  • نمایش منبع
  • نمایش منبع ترجمه
«

ناوبری

  • فهرست
  • ماژول ها |
  • بعدی |
  • قبلی |
  • Python logo
  • Python »
  • 3.16.0a0 Documentation »
  • The Python Standard Library »
  • Binary Data Services
  • |
  • |
© حق نشر 2001 Python Software Foundation.
این صفحه تحت مجوز بنیاد نرم‌افزار پایتون نسخه ۲ منتشر شده است.
مثال‌ها، دستورالعمل‌ها، و سایر کدهای موجود در مستندات همچنین تحت مجوز بدون بند BSD منتشر شده‌اند.
برای اطلاعات بیشتر به تاریخچه و مجوز مراجعه کنید.
میزبانی شده روی Read the Docs.

بنیاد نرم‌افزار پایتون یک شرکت غیرانتفاعی است. لطفاً کمک مالی کنید.

آخرین به‌روزرسانی در اوت 20, 2026 (11:54 UTC). آیا اشکالی یافتید؟
ساخته شده با Sphinx 8.2.3.