[Numpy-discussion] numpy save files from C

John Hunter jdh2358 at gmail.com
Thu Feb 26 18:05:18 EST 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.

Thanks,
JDH



More information about the NumPy-Discussion mailing list