[SciPy-user] scipy.io.numpyio fwrite - appending or updating an array

Stéfan van der Walt stefan at sun.ac.za
Fri Aug 1 03:04:12 EDT 2008


Hi Brennan

2008/8/1 Brennan Williams <brennan.williams at visualreservoir.com>:
> I've tried replacing numpyio with both fopen and now also npfile but I'm
> getting the same problem, i.e. if I write a numpy array to the file,
> everything else before that position in the file is now zero. It is as
> if it is a new file, not an existing one.

Have you looked at SciPy's memmap class?

Regards
Stéfan



More information about the SciPy-User mailing list