[Numpy-discussion] numpy save files from C

John Hunter jdh2358@gmail....
Thu Feb 26 17:05:18 CST 2009

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 dtype (ints and floats).

I've referred him to the npy-format NEP document, as well as the
format.py implementation, so he can roll his own if need be, but if
someone has a head start code example that would be great.


More information about the Numpy-discussion mailing list