From 232a94497a3fcdbd43ee6414a274663087f1c8b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 5 Jul 2020 12:55:18 -0400 Subject: [PATCH] Start fumbling our way into a script --- pomodoroprompt.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pomodoroprompt.py diff --git a/pomodoroprompt.py b/pomodoroprompt.py new file mode 100644 index 0000000..27427ac --- /dev/null +++ b/pomodoroprompt.py @@ -0,0 +1,23 @@ +import cmd +import os +import time + +import pytz +import zenipy + +WORK_MIN = 25 +SHORT_MIN = 5 +LONG_MIN = 15 + + + + + +def main(): + timelog = Path('timelog.csv') + timelog.touch(exist_ok=True) + with timelog.open('r+') as f: + pp = PomodoroPrompt(timelog=f) + +if __name__ == '__main__': + main()