Hi! After using f2py to be able to call some Fortran 77 code from Python, I now have a need to do the same with some C function. I was wondering what the best practice is to wrap this function into some Python callable object. I read a number of different approaches are possible, but while with f2py I know what to expect, with C, it appears that SWIG, or Pyrex, or...? Many thanks! -- 10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail +++ GMX - die erste Adresse f�r Mail, Message, More +++
You can use f2py to wrap C code. There was a thread about this last week. On 2/13/06, Jose Luis Gomez Dans <josegomez@gmx.net> wrote:
Hi! After using f2py to be able to call some Fortran 77 code from Python, I now have a need to do the same with some C function. I was wondering what the best practice is to wrap this function into some Python callable object. I read a number of different approaches are possible, but while with f2py I know what to expect, with C, it appears that SWIG, or Pyrex, or...?
Many thanks!
-- 10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail +++ GMX - die erste Adresse für Mail, Message, More +++
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.net http://www.scipy.net/mailman/listinfo/scipy-user
Hi!
You can use f2py to wrap C code. There was a thread about this last week.
D'oh!!!! Sorry, didn't realize that. Many thanks! Jose -- Telefonieren Sie schon oder sparen Sie noch? NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
participants (2)
-
Jose Luis Gomez Dans -
Ryan Krauss