PEATDB/PEATApp.py
def recordEvent(self,message='Timestamp'):
        """Display a message in the eventlog"""
        import time
        tid=time.strftime('%H:%M:%S %d/%m',time.localtime(time.time()))
        self.eventlog.insert('0.0','%s: %s\n' %(tid,message))
        self.master.update_idletasks()
        return
Display a message in the eventlog
Display a message in the eventlog
Display a message in the eventlog
def recordEvent(self,message='Timestamp'):
        import time
        tid=time.strftime('%H:%M:%S %d/%m',time.localtime(time.time()))
        self.eventlog.insert('0.0','%s: %s\n' %(tid,message))
        self.master.update_idletasks()
        return
def recordEvent ( self , message = 'Timestamp' ) : import time tid = time . strftime ( '%H:%M:%S %d/%m' , time . localtime ( time . time ( ) ) ) self . eventlog . insert ( '0.0' , '%s: %s\n' % ( tid , message ) ) self . master . update_idletasks ( ) return
Display a message in the eventlog
Display a message in the eventlog
"""Display a message in the eventlog"""
self
message