[SciPy-user] partially reading a file...
fred
fredmfp at gmail.com
Thu Aug 7 11:36:21 EDT 2008
Travis E. Oliphant a écrit :
>
> Should work...
I have tested the trick on a file which has 2.7 10**9 nodes, ie > 2**31
and I get the following message:
File "/usr/local/lib/python2.5/site-packages/numpy/core/memmap.py", line
193, in __new__
mm = mmap.mmap(fid.fileno(), bytes, access=acc)
ValueError: mmap length is greater than file size
Is there a workaround to consider long integer (if this is the issue) ?
TIA.
Cheers,
--
Fred
More information about the SciPy-User
mailing list