[Tutor] Translating FORTRAN (77?) to Python?
Chris Fuller
cfuller084 at thinkingplanet.net
Fri Jan 16 18:19:09 CET 2009
On Friday 16 January 2009 10:40, Wayne Watson wrote:
> I may have a need down the line to convert a large number of lines of
> FORTRAN code to Python. Is there a good translator available to do this? In
> the past, I've found some for translating Pascal to C, and possibly others.
There is a Fotran to C converter, and you might have some luck interfacing
that with SWIG or just following the tutorials in the Python docs.
http://www.netlib.org/f2c/
http://docs.python.org/extending/
Cheers
More information about the Tutor
mailing list