[Numpy-discussion] numpy.load and gzip file handles
Mon Feb 2 00:10:10 CST 2009
On Mon, Feb 02, 2009 at 08:01:54AM +0200, Stéfan van der Walt wrote:
> The GzipFile in Python 2.5 does not support the 2nd ("whence")
> argument. The solution may be to use this wrapper from the EffBot:
> In order to "back-port" that functionality.
Unless I'm misunderstanding, even with the wrapper one can't actually seek
backwards, which is what the numpy code wants to do.
In the meantime, I'm just using numpy.lib.format.read_array() directly.
Matthew Miller email@example.com <http://mattdm.org/>
More information about the Numpy-discussion