#NEWLINE# def uptime( self , nick , message , channel ) : #NEWLINE# #INDENT# curr = time . time ( ) #NEWLINE# seconds_diff = ( curr - self . start ) #NEWLINE# ( hours , remainder ) = divmod ( seconds_diff , 3600 ) #NEWLINE# ( minutes , seconds ) = divmod ( remainder , 60 ) #NEWLINE# return ( 'Uptime: %d:%02d:%02d' % ( hours , minutes , seconds ) )