[Baypiggies] Link Python and Fortran

Stephen McInerney spmcinerney at hotmail.com
Wed Mar 31 01:14:58 CEST 2010


Yi,

You might like to download the Python(x,y) bundled distro of Python+Eclipse+MinGW
(with gfortran compiler) + many other libraries (NumPy etc) + documentation.
That allows wrapping Fortran for Python.
URL: http://www.pythonxy.com/

In any case, F2PY is already part of NumPy since 2007. Beyond that I know nothing about it.

Stephen


Date: Tue, 30 Mar 2010 15:25:11 -0700
From: yiqi at stanford.edu
To: baypiggies at python.org
Subject: [Baypiggies] Link Python and Fortran

Hi:

So nice to join the group. I am a python programmer. 
I wonder could anyone share with me some direction on how to link Python and Fortran. I have some oceanographic wave model written in Fortran, and I am thinking a way to wrap it into Python program I am coding. I google something called F2PY, but it is actually not very straightforward. 


Many thinks in advance. 

Apollo
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850552/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20100330/0726fd52/attachment.html>


More information about the Baypiggies mailing list