now = time.time()
self.stats["timestamps"].append(now)
elapsed_time = now - self.timestats["start"]
self.timestats["elapsed"] = time.strftime("%H:%M:%S",
time.gmtime(elapsed_time))
def save_session(self):
Save the session file to the modeldir
if self.stats["iterations"] > 0:
After Change
self.stats["timestamps"].append(now)
elapsed_time = now - self.timestats["start"]
hrs, mins, secs = convert_time(elapsed_time)
self.timestats["elapsed"] = "{}:{}:{}".format(hrs, mins, secs)
def save_session(self):
Save the session file to the modeldir
if self.stats["iterations"] > 0: