Skip to content

Instantly share code, notes, and snippets.

@MashRoofa
MashRoofa / TimeCapture.py
Last active June 4, 2020 15:18
Python TimeCapture Console App - Dirty/Simple code to measure the average time taken to perform simple repetitive tasks i.e. calculate your average time of reading book pages
import time
import numpy as np
'''
Use option 1 and start your task, every time the task is done and you are about to go to the next task,
use option 2 to recapture the new time and save (and display) the previous duration taken for the task.
Then use option 2 continuously between tasks and once all your tasks are done, on the last task instead of using option 2