marshal
Stdlib — SerializationPython 2.0+Intermediate
Internal object serialization (used for .pyc files)
Quick Info
- Documentation
- Official Docs
- Python Version
- 2.0+
- Dependencies
- None — Python Standard Library
- Install
Included with Python
Learn by Difficulty
Quick Example
python
import marshal print(f"Module: marshal") print(f"Contents: {dir(marshal)[:10]}")
The marshal module is part of Python's standard library. Internal object serialization (used for .pyc files).
Try in PlaygroundTags
stdlibserializationdata-format