
May 24, 2007
1:52 p.m.
On Thu, May 24, 2007 at 03:50:40PM +0200, Gael Varoquaux wrote:
On Thu, May 24, 2007 at 03:40:18PM +0200, lorenzo bolla wrote:
I hope this is the right mailing list to post my question to. I'm trying to make some easy C code working with Python by using f2py.
I can't help too much on that as I gave up using f2Py to wrap C a while ago, but I think you are much better off using xtypes to call C functions. It is dead-easy.
Oops, forgot the manual ! Have a look at http://www.scipy.org/Cookbook/Ctypes to see how to easily call C function with numpy. Gaƫl