mmap

Stdlib — OS/FilePython 2.0+Intermediate

Memory-mapped file support for efficient large file access

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 mmap

print(f"Module: mmap")
print(f"Contents: {dir(mmap)[:10]}")

The mmap module is part of Python's standard library. Memory-mapped file support for efficient large file access.

Try in Playground

Tags

stdlibfile-iosystem