[Tutor] Running and passing variables to/from Fortran

John Washakie washakie at gmail.com
Sun May 6 11:20:21 CEST 2007

I have a FORTRAN program which reads in unformatted sparse matrix
data. Rather than rewriting the code in Python, I was hoping there is
a way to call the Fortran program, passing filename variables TO
Fortran, and returning the data (which is an array) back to my .py
code for use there.

Is there a simple example of this that someone knows of?

More information about the Tutor mailing list