main.py 206 B

12345678910111213141516
  1. import time
  2. def time_watcher():
  3. print('--- %s seconds ---' % (time.time() - start_time))
  4. def main():
  5. pass
  6. if __name__ == '__main__':
  7. start_time = time.time()
  8. main()
  9. time_watcher()