Re: [Numpy-discussion] numpy.load and gzip file handles

2009-02-01 Thread Matthew Miller
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: > http://effbot.org/librarybook/gzip-example-2.py > In order to "back-port" that functionality.

Re: [Numpy-discussion] numpy.load and gzip file handles

2009-02-01 Thread Stéfan van der Walt
2009/2/2 Matthew Miller : > I'd like to log the state of my program as it progresses. Using the > numpy.save / numpy.load functions on the same filehandle repeatedly works > very well for this -- but ends up making a file which very quickly grows to > gigabytes. The data compresses well, though, so

[Numpy-discussion] numpy.load and gzip file handles

2009-02-01 Thread Matthew Miller
Hi everyone. I'd like to log the state of my program as it progresses. Using the numpy.save / numpy.load functions on the same filehandle repeatedly works very well for this -- but ends up making a file which very quickly grows to gigabytes. The data compresses well, though, so I thought I'd use P