def reprogress():
 if (_last_progress and _last_progress.endswith('\r')):
  progress(_last_progress)

def reprogress ( ) : if ( _last_progress and _last_progress . endswith ( '\r' ) ) : progress ( _last_progress )
calls progress() to redisplay the most recent progress message .