About 16,700 results
Open links in new tab
  1. Built-in Types — Python 3.14.2 documentation

    1 day ago · This bytes class method returns a bytes object, decoding the given string object. The string must contain two hexadecimal digits per byte, with ASCII whitespace being ignored.

  2. Bytes Objects — Python 3.14.2 documentation

    4 days ago · Create a new bytes object in *bytes containing the contents of newpart appended to bytes. This version releases the strong reference to newpart (i.e. decrements its reference count).

  3. struct — Interpret bytes as packed binary data — Python 3.14.2 ...

    2 days ago · This module converts between Python values and C structs represented as Python bytes objects. Compact format strings describe the intended conversions to/from Python values.

  4. pickle — Python object serialization — Python 3.14.2 documentation

    6 days ago · “Pickling” is the process whereby a Python object hierarchy is converted into a byte stream, and “unpickling” is the inverse operation, whereby a byte stream (from a binary file or …

  5. io — Core tools for working with streams — Python 3.14.2 …

    2 days ago · An empty bytes object is returned if the stream is already at EOF. More than one read may be made and calls may be retried if specific errors are encountered, see os.read() …

  6. Buffer Protocol — Python 3.14.2 documentation

    2 days ago · Certain objects available in Python wrap access to an underlying memory array or buffer. Such objects include the built-in bytes and bytearray, and some extension types like …

  7. Unicode Objects and Codecs — Python 3.14.2 documentation

    2 days ago · The mapping object must map Unicode ordinal integers to bytes objects, integers in the range from 0 to 255 or None. Unmapped character ordinals (ones which cause a …

  8. zipfile — Work with ZIP archives — Python 3.14.2 documentation

    The comment associated with the ZIP file as a bytes object. If assigning a comment to a ZipFile instance created with mode 'w', 'x' or 'a', it should be no longer than 65535 bytes.

  9. Built-in Functions — Python 3.15.0a3 documentation

    2 days ago · As mentioned in the Overview, Python distinguishes between binary and text I/O. Files opened in binary mode (including 'b' in the mode argument) return contents as bytes …

  10. mmap — Memory-mapped file support — Python 3.14.2 …

    3 days ago · Memory-mapped file objects behave like both bytearray and like file objects. You can use mmap objects in most places where bytearray are expected; for example, you can use the …