[Numpy-discussion] Question about memmap

Gökhan SEVER gokhansever@gmail....
Wed Jun 10 00:38:48 CDT 2009


On Wed, Jun 10, 2009 at 12:34 AM, Matthew Brett <matthew.brett@gmail.com>wrote:

> Hi,
>
> > I am having problem while trying to memory map a simple file (attached as
> > test.txt)
>
> The file looks like a text file, but memmap is for binary files.
> Could that be the problem?
>
> Best,
>
> Matthew
>

I don't see such a restriction in memmap function based on its help at or
memmap? from IPython.

http://docs.scipy.org/doc/numpy/reference/generated/numpy.memmap.html#numpy.memmap

I thought it will happily work with text files too :(

Gökhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090610/bfc0bdcc/attachment.html 


More information about the Numpy-discussion mailing list