title: Passing Arrays from Python to Fortran (and back)
body: <p><strong>Background:</strong><br>
  My program currently assembles arrays in Python. These arrays are connected to a front-end UI and as such have interactive elements (i.e. user specified values in array elements). These arrays are then saved to .txt files (depending on their later use). The user must then leave the Python program and run a separate Fortran script which simulates a system based on the Python output files. While this only takes a couple of minutes at most, I would ideally like to automate the process without having to leave my Python UI. 
  <br>
  <br>Assemble Arrays (Python) <strong>-></strong> Edit Arrays (Python) <strong>-></strong> Export to File (Python)
  <br><strong>-></strong> Import File (Fortran) <strong>-></strong> Run Simulation (Fortran) <strong>-></strong> Export Results to File (Fortran)
  <br><strong>-></strong> Import File to UI, Display Graph (Python)
  <br>
  <br>
  <strong>Question:</strong><br>
  Is this possible? What are my options for automating this process? Can I completely remove the repeated export/import of files altogether?</p>
  
  <p><strong>Edit:</strong>
  I should also mention that the fortran script uses Lapack, I don't know if that makes a difference.</p>