pomodoroprompt/pomodoroprompt.py

24 lines
299 B
Python
Raw Normal View History

2020-07-05 16:55:18 +00:00
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()