Start fumbling our way into a script

This commit is contained in:
benjamin melançon 2020-07-05 12:55:18 -04:00
parent c679b1ab7f
commit 232a94497a

23
pomodoroprompt.py Normal file
View file

@ -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()