How to load a MATLAB file which has 2 arrays, in 1 code of line
Question: I have 1 file with 2 arrays inside it (x and y). This is the dictionary keys:

    
    
        dict_keys(['__version__', 'x', '__header__', 'y', '__globals__'])
    

These are the instructions I write to call my arrays without the dict_keys:

    
    
        x=sio.loadmat('C:/Users/rocio/Documents/Python Scripts/SLEEP/SLEEP_F4/FeaturesAll/AWA_FeaturesAll.mat')['x']
        y=sio.loadmat('C:/Users/rocio/Documents/Python Scripts/SLEEP/SLEEP_F4/FeaturesAll/AWA_FeaturesAll.mat')['y']
    

Is there a way to do this with only one line of code?

I have tried this so far without success:

    
    
        x_y=sio.loadmat('C:/Users/rocio/Documents/Python Scripts/SLEEP/SLEEP_F4/FeaturesAll/AWA_FeaturesAll.mat')['x']['y']
    
    
        x_y=(sio.loadmat('C:/Users/rocio/Documents/Python Scripts/SLEEP/SLEEP_F4/FeaturesAll/AWA_FeaturesAll.mat')(['x','y']))
    
        x_y=sio.loadmat('C:/Users/rocio/Documents/Python Scripts/SLEEP/SLEEP_F4/FeaturesAll/AWA_FeaturesAll.mat')(['x']['y'])
    
        x_y=(sio.loadmat('C:/Users/rocio/Documents/Python Scripts/SLEEP/SLEEP_F4/FeaturesAll/AWA_FeaturesAll.mat')(['x']['y']))
    


Answer: Is it really that important to do this in _one line_? It makes sense to want
just one call to `loadmat()`, but insisting on one line seems unnecessary.
This looks pretty straightforward:

    
    
    features = sio.loadmat('C:/Users/rocio/Documents/Python Scripts/SLEEP/SLEEP_F4/FeaturesAll/AWA_FeaturesAll.mat')
    x = features['x']
    y = features['y']
    

