From: Robert K. <ke...@ca...> - 2001-08-07 20:17:26
|
On Tue, Aug 07, 2001 at 01:26:57PM -0700, Chris Barker wrote: [snip] > Note that you end up creating a Python string of the data first, and > then a NumPy array from that. This doesn't really cost that much, but it > can be an issue with huge data sets. I wish there was a fromfile() > function. I may get around to writing it one day. With Python 2.0 or greater, one can use mmap'ed files as arguments to fromstring. > -Chris -- Robert Kern ke...@ca... "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter |