def setupLogFile ( self ) : self . logWrite ( "\n###############################################" ) self . logWrite ( "calcpkg.py log from " + str ( datetime . datetime . now ( ) ) ) self . changeLogging ( True )
how to create new log in python at run tim
Set up the logging file for a new session - include date and some whitespace
def setupLogFile(self):
		"""Set up the logging file for a new session- include date and some whitespace"""
		self.logWrite("\n###############################################")
		self.logWrite("calcpkg.py log from " + str(datetime.datetime.now()))
		self.changeLogging(True)