[Tutor] Translating FORTRAN (77?) to Python?

greg whittier greg at thewhittiers.com
Fri Jan 16 19:10:27 CET 2009


There's an absolutely incredible project call f2py
http://cens.ioc.ee/projects/f2py2e/ that I've used before.  It doesn't
translate the code, but wraps it (which is actually better) and lets
you import your library as a module.  It even generates docstrings so
you can see how to call the functions.

On Fri, Jan 16, 2009 at 11:40 AM, Wayne Watson
<sierra_mtnview at sbcglobal.net> 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.
> --
>
>            Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
>
>              (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
>
>              "The creation of the world did not occur at the
>               beginning of time; it occurs every day." -- M. Proust
>
>                     Web Page: <www.speckledwithstars.net/>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>


More information about the Tutor mailing list