1import time
2start_time = time.time()
3main()
4print("--- %s seconds ---" % (time.time() - start_time))
1import datetime
2t_set = lambda: datetime.datetime.now().astimezone().replace(microsecond=0)
3t_diff = lambda t: str(t_set() - t)
4t_stamp = lambda t=None: str(t) if t else str(t_set())
5