<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def loadmat(path):
 r""" Load a matlab data file. Parameters path : string Path to the mat file from the data folder, without the .mat extension. Returns ------- data : dict dictionary with variable names as keys, and loaded matrices as values. Examples -------- (2503, 3) """

    data = pkgutil.get_data('pygsp', 'data/' + path + '.mat')
    data = io.BytesIO(data)
    return scipy.io.loadmat(data)