Start fumbling our way into a script
This commit is contained in:
parent
c679b1ab7f
commit
232a94497a
1 changed files with 23 additions and 0 deletions
23
pomodoroprompt.py
Normal file
23
pomodoroprompt.py
Normal 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()
|
Loading…
Reference in a new issue