Skip to content

rscircus/CallPythonFromFortran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to call Python from within Fortran

And return values to Fortran without call-backs.

Don't forget:

  • To link the Python libraries
  • Include Python.h

when compiling.

Genesis Note:

I had this problem recently, as I wanted to interface from a really old and large piece of Fortran-Code to Python. Basically, I didn't find anything existing, so I came up with this solution.

I hope it helps.

About

How to call Python from Fortran

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published