Mimics Fortran textual IO in Python
copied from cf-staging / fortranformatFORTRAN format interpreter for Python. Generates text from a Python list of variables or will read a line of text into Python variables according to the FORTRAN format statement passed.