Multi-Dimensional Arrays.
Curtis Jensen
cjensen at be-research.ucsd.edu
Wed Nov 17 14:54:30 EST 1999
Allow me to refine the question. If I make a list of lists to be my
multi-dimensional array, how do I pass that into C?
PyArg_ParseTuble(args, "?", &x)? What would go in place of the "?"? Or
would it be done a different way. Then to pass it back to Python, I
would return what? Could I use Py_BuildVal("?", x) ?
Curtis Jensen wrote:
> I'm working on a Python user interface that will be connected to some
> fortran code with heaps of multi-dimensional arrays. I can't seem to
> find any references to multi-dimensional arrays in Python. Is there
> an easy way to create multi-dimensional arrays in Python?
>
> --
> Curtis Jensen
> cjensen at be-research.ucsd.edu
> http://www-bioeng.ucsd.edu/~cjensen/
> FAX (425) 740-1451
>
>
--
Curtis Jensen
cjensen at be-research.ucsd.edu
http://www-bioeng.ucsd.edu/~cjensen/
FAX (425) 740-1451
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/19991117/ce1dc4ed/attachment.html>
More information about the Python-list
mailing list