marshal — Internal Python object serialization — Python 3.16.0a0 documentation

docs.python.org

Tin mới

shelve — Python object persistence

dbm — Interfaces to Unix “databases”

Python Module Index

3.16.0a0 Documentation

The Python Standard Library

pickle: Convert Python objects to streams of bytes and back.

This module contains functions that can read and write Python values in a binary format. The format is specific to Python, but independent of machine architecture issues (e.g., you can write a Python value to a file on a

Bytes-like objects

Strings (str) and bytes. Bytes-like objects like bytearray are marshalled as bytes.

code: Facilities to implement read-eval-print loops.

code objects, if allow_code is true. See note above about version dependence.