Standarized message

This commit is contained in:
Maximilian Giller 2019-04-14 16:37:53 +02:00
parent f7a589354f
commit 2ea9b09954

View file

@ -14,7 +14,7 @@ class LoopTimer (object):
def begin_loop (self):
begin_time = datetime.now()
print('\n__________Starting new loop__________')
print('Date: ' + begin_time.strftime('%a %d %b %y') + ', time: ' + begin_time.strftime('%H:%M') + '\n')
print('Datetime: ' + str(begin_time) + '\n')
self.__add_beginning__(begin_time)
def __add_beginning__ (self, time):