i'm looking for an equivalent to this python 3.6 code :
import scipy.io as sio
file = sio.loadmat('file.mat')
data = file['data']
I have to do the same thing in python 2.7, i tryed
import h5py
f = h5py.File('file.mat')
But it doesn't work, do you have an idea?
Thank you