Re: [Numpy-discussion] numpy save files from C

2009-02-26 Thread Robert Kern
On Thu, Feb 26, 2009 at 17:05, John Hunter wrote: > A colleague of mine has a bunch of numpy arrays saved with np.save and > he now wants to access them directly in C, with or w/o the numpy C API > doesn't matter.  Does anyone have any sample code lying around which > he can borrow from?  The arra

[Numpy-discussion] numpy save files from C

2009-02-26 Thread John Hunter
A colleague of mine has a bunch of numpy arrays saved with np.save and he now wants to access them directly in C, with or w/o the numpy C API doesn't matter. Does anyone have any sample code lying around which he can borrow from? The array is a structured array with an otherwise plain vanilla dty