scipy.io.FortranFile.

close#

FortranFile.close()[source]#

Closes the file. It is unsupported to call any other methods off this object after closing it. Note that this class supports the β€˜with’ statement in modern versions of Python, to call this automatically