#NEWLINE# def __init__( self , minval = 0 , maxval = 100 ) : #NEWLINE# #INDENT# assert ( ( maxval is None ) or ( maxval >= minval ) ) #NEWLINE# self . min = self . cur = minval #NEWLINE# self . max = maxval #NEWLINE# self . started = None #NEWLINE# self . elapsed = 0 #NEWLINE# self . done = False