Input and output (scipy.io)

SciPy has many modules, classes, and functions available to read data from and write data to a variety of file formats.

See also

numpy-reference.routines.io (in Numpy)

MATLAB® files

IDL® files

Matrix Market files

Unformatted Fortran files

Netcdf

Harwell-Boeing files

Wav sound files (scipy.io.wavfile)

read(filename[, mmap]) Return the sample rate (in samples/sec) and data from a WAV file
write(filename, rate, data) Write a numpy array as a WAV file
WavFileWarning

Arff files (scipy.io.arff)