And return values to Fortran without call-backs.
- To link the Python libraries
- Include Python.h
when compiling.
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.