On May 20, 7:24 pm, Grant Edwards <[EMAIL PROTECTED]> wrote: > > http://docs.python.org/lib/module-ctypes.html >
Also see Cython (or Pyrex if you prefer the original). With Cython it is easy to call C functions, but Cython also alleviates the need for C to a great extent. The advantage of Cython over C + ctypes is of course the readability of Python and the presence of Python built-in types like strings, dicts and lists. Unfortunately, it is still a bit difficult to use NumPy ndarrays with Cython or Pyrex. NumPy ndarrays work very well with ctypes though. http://www.cython.org/ -- http://mail.python.org/mailman/listinfo/python-list