Fortran to Python

Robin Becker robin at reportlab.com
Fri Jan 4 09:54:44 EST 2008


Jeroen Ruigrok van der Werven wrote:
> -On [20080104 14:22], Jeroen Ruigrok van der Werven (asmodai at in-nomine.org) wrote:
>> What I wonder about, does anybody have a Fortran to Python conversion page
>> somewhere to map some of the basic types to Python equivalents?
> 
> Just to share my own ideas:
> 
> Seems
> 
> COMPLEX*16/complex*16	~= complex
> REAL*8/real*8		~= float
> INTEGER/integer		~= int/long
> 
you probably want to look at numpy an extension that handles lots of matrix 
things with great ease. I think it now lives at http://scipy.org/

-- 
Robin Becker




More information about the Python-list mailing list