mapped files and mmap() wrapper in Python?

Fredrik Lundh effbot at telia.com
Fri Feb 4 04:12:01 EST 2000


Jean Hemmi <jean.hemmi at arakne.com> wrote:
> Has somebody been working on a wrapper module around the mmap() set of
> functions ?
> The purpose would be to provide for providing Python access to mapped
> files,
> I imagine that the implementation would have the mapped memory areas
> appear as Python buffer objects (in read or read/write modes), and that
> sub-buffer objects could be extracted...
>
> I'll be glad to hear from any one having approached the subject...

http://starship.python.net/~amk/python/code/mmap.html (unix)
http://www.python.org/windows/win32/#mmapfile (windows)

(hint: www.python.org => "search" would have helped you
find them in a fraction of the time it took you to compose
that message...)

</F>





More information about the Python-list mailing list