{ } Raw JSON

bundles / scipy 1.17.1 / scipy / io / matlab / _mio / _open_file

function

scipy.io.matlab._mio:_open_file

source: /scipy/io/matlab/_mio.py :25

Signature

def   _open_file ( file_like appendmat mode = rb )

Summary

Open file_like and return as file-like object. First, check if object is already file-like; if so, return it as-is. Otherwise, try to pass it to open(). If that fails, and file_like is a string, and appendmat is true, append '.mat' and try again.

Aliases

  • scipy.io.matlab._mio._open_file