write_record
scipy.io.FortranFile.
- FortranFile.write_record(*items)
Write a record (including sizes) to the file.
- Parameters:
- *items : array_like
The data arrays to write.
Notes
Writes data items to a file:
Write a record (including sizes) to the file.
The data arrays to write.
Writes data items to a file:
Note that data in multidimensional arrays is written in row-major order — to make them read correctly by Fortran programs, you need to transpose the arrays yourself when writing them.