Re: Calling FORTAN dll functions from Python

2010-12-08 Thread Katie T
On Tue, Dec 7, 2010 at 11:11 AM, Alex van der Spek wrote: > Does anyone know how to call functions from FORTRAN dlls in Python? Is it > even possible? I browsed the documentation for Python 2.6.1 and the Python/C > API comes close to what I would like to do but it is strictly limited to C. > > Un

Re: Calling FORTAN dll functions from Python

2010-12-08 Thread Carl Banks
On Dec 7, 3:11 am, "Alex van der Spek" wrote: > Does anyone know how to call functions from FORTRAN dlls in Python? Is it > even possible? I browsed the documentation for Python 2.6.1 and the Python/C > API comes close to what I would like to do but it is strictly limited to C. > > Unfortunately t

Re: Calling FORTAN dll functions from Python

2010-12-08 Thread Daniel da Silva
I don't know much about fortran+python, but I work with someone who does, and he absolutely loves this tool: http://cens.ioc.ee/projects/f2py2e/ Daniel On Tue, Dec 7, 2010 at 10:19 PM, Dennis Lee Bieber wrote: > On Tue, 07 Dec 2010 12:52:54 +0100, Stefan Behn

Re: Calling FORTAN dll functions from Python

2010-12-07 Thread Stefan Behnel
Alex van der Spek, 07.12.2010 12:11: Does anyone know how to call functions from FORTRAN dlls in Python? Is it even possible? Sure, have a look at fwrap and Cython. Stefan -- http://mail.python.org/mailman/listinfo/python-list

Calling FORTAN dll functions from Python

2010-12-07 Thread Alex van der Spek
Does anyone know how to call functions from FORTRAN dlls in Python? Is it even possible? I browsed the documentation for Python 2.6.1 and the Python/C API comes close to what I would like to do but it is strictly limited to C. Unfortunately the passing of arguments in C and FORTRAN is very diff