Jose David Ruiz Alvarez, 18.02.2010 17:06: > I'm new in Cython, but I'm trying to get direct acces from python to a C and > Fortran code called micrOMEGAS. I've studied the program itself and some > characteristics about cython, but I'm not succesful, yet. > > I need a medium example of how to use a C library in Cython, how to make the > calls of the functions, the declarations and all over ¿Anybody can send me a > moderate level and a high level example?
Have you looked through the docs and the tutorials on the web site? Please note that the right place to ask this would be the cython-users mailing list, not the developers mailing list. > also I have problems declaring in > the .pxd file of cython a variable of FILE type ¿Wht can I do with it? It's predeclared in stdio.pxd and can be used with fopen() or fprintf(). The question is rather: what do you *want* to do with it? Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
