Python mmap: Doing File I/O With Memory Mapping
The Zen of Python has a lot of wisdom to offer. One especially useful idea is that “There should be one—and preferably only one—obvious way to do it.” Yet there are multiple ways to do most things in Python, and often for good reason. For example, there are multiple ways to read a file in Python, including the rarely used mmap module. Python’s mmap provides memory-mapped file input and output (I/O). It allows you to take advantage of lower-level operating […]
Read more