#NEWLINE# def log( * what ) : #NEWLINE# #INDENT# global count #NEWLINE# count = ( count + 1 ) #NEWLINE# f = open ( logfile , 'a' ) #NEWLINE# f . write ( time . asctime ( ) ) #NEWLINE# f . write ( ' : ' ) #NEWLINE# f . write ( str ( start ) ) #NEWLINE# f . write ( ' : ' ) #NEWLINE# f . write ( str ( f ) ) #NEWLINE# f . write ( ' : ' ) #NEWLINE# for thing in what : #NEWLINE# #INDENT# f . write ( ' ' ) #NEWLINE# f . write ( str ( thing ) ) #NEWLINE# #UNINDENT# f . write ( '\n' ) #NEWLINE# f . flush ( ) #NEWLINE# f . close ( )