[Numpy-discussion] memmap close() and flush()

Travis Oliphant oliphant.travis at ieee.org
Wed Jan 31 01:27:04 CST 2007


Sebastian Haase wrote:
> Hi!
> Do numpy memmap have a way of explicitly
> flushing data to disk
> and/or
> closing the memmap.
>   
There is a sync method that performs the flush.   To close the memmap, 
delete it.

More detail:
    The memmap sub-class has a _mmap attribute that is the Python 
memory-map object.

-Travis




More information about the Numpy-discussion mailing list