On 10.10.2013 14:57, Julian Taylor wrote:
> you have to use the offset keyword argument of np.memmap, else it will
> always start from the beginning of the file
> 
>>>> np.memmap(fd, dtype="float32", mode="r", offset=offset)

Thanks for that! I just proposed an update to the memmap docstring to
better reflect this:

   https://github.com/numpy/numpy/pull/3890

-- Andreas.
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to