summaryrefslogtreecommitdiff
path: root/progress.py
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-11-28 14:26:15 -0800
committerBen Sima <ben@bsima.me>2018-11-28 14:26:15 -0800
commit42b27e60844f6048eab809ae3800cce856a19bd4 (patch)
tree75299cfb3eff5a046aa6ad778443be09418f66bc /progress.py
parent21941174774c9a4397db27a0443e25df9aa44738 (diff)
Comment
Diffstat (limited to 'progress.py')
-rwxr-xr-xprogress.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/progress.py b/progress.py
index bb5c571..5e05fa9 100755
--- a/progress.py
+++ b/progress.py
@@ -5,6 +5,10 @@ from datetime import datetime, timedelta
from calendar import *
class Progress(object):
+ """Displays the time left in the day/week/month/year as a percentage. Inspired
+ by https://twitter.com/year_progress
+
+ """
def __init__(self):
self.now = datetime.now()