<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
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) ?
<p>Curtis Jensen wrote:
<blockquote TYPE=CITE>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?
<pre>-- 
Curtis Jensen
cjensen@be-research.ucsd.edu
<a href="http://www-bioeng.ucsd.edu/~cjensen/">http://www-bioeng.ucsd.edu/~cjensen/
</a>FAX (425) 740-1451</pre>
 </blockquote>

<pre>-- 
Curtis Jensen
cjensen@be-research.ucsd.edu
<A HREF="http://www-bioeng.ucsd.edu/~cjensen/">http://www-bioeng.ucsd.edu/~cjensen/</A>
FAX (425) 740-1451</pre>
 </html>