#NEWLINE# def pp_timestamp( t ) : #NEWLINE# #INDENT# '\n    Get a friendly timestamp represented as a string.\n    ' #NEWLINE# if ( t is None ) : #NEWLINE# #INDENT# return '' #NEWLINE# #UNINDENT# ( h , m , s ) = ( int ( ( t / 3600 ) ) , int ( ( ( t / 60 ) % 60 ) ) , ( h % 60 ) ) #NEWLINE# return ( '%02d:%02d:%05.2f' % ( h , m , s ) )