def TimeFromTicks(ticks):
 return time(*localtime(ticks)[3:6])

def TimeFromTicks ( ticks ) : return time ( * localtime ( ticks ) [ 3 : 6 ] )
construct an objet holding a time value from the given ticks value .