[Numpy-discussion] Memmap and other read/write operations
Wed Jul 30 05:51:53 CDT 2008
I have a question concerning numpy.memmap.
I'm working with a binary format, consisting of a header of certain size
(1024 byte) in the beginning and a 2d-float32 array afterwards. I would
like to open the array-part using a memmap-object using
This works fine.
My question is now, if I can in the mean time securely open the file for
custom writing by using
f = open("test.dat", "r+")
or will there be problems? Is there another possibility to do custom writing
to the header-part?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion