Interfacing Fortran with Python in 2025

I used this way as well and found it to be the least problematic.