import time # Function/arguments: now() # Description: Returns the current system time for the logfile. # Returns: A string with the current time for the logfile. def now(): result = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) return result