<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def progress(self, loaded, total, msg=''):
 """ Notify on a progress change """


        self.fire('progress', {
            'loaded': loaded,
            'total': total,
            'msg': msg
        })