[Numpy-discussion] constructing an array from memory

Mathew Yeates mat.yeates@gmail....
Fri Sep 24 11:25:48 CDT 2010


I'm trying to do something ... unusual.

gdb support scripting with Python. From within my python script, I can
get the address of a contiguous area of memory that stores a  fortran
array. I want to creat a NumPy array using "frombuffer". I see that
the CPython API supports the creation of a buffer, but, is there an
easier, more direct, way?

-Mathew


More information about the NumPy-Discussion mailing list