def _set_time_label(self, value, control):
        hours = value / 3600
        minutes = (value % 3600) / 60
        seconds = value % 60
        label = "%u:%02u:%02u" % (hours, minutes, seconds)

        control.SetLabel(label)
dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/progress_dialog.py/ProgressDialog._set_time_label/original