예제 #1
0
파일: 1-MORROW.py 프로젝트: buchuki/oneday
#!/usr/bin/python
from todo.utils import open_day

open_day(1)
예제 #2
0
파일: 1-TODAY.py 프로젝트: buchuki/oneday
#!/usr/bin/python3
from todo.utils import open_day
open_day()
예제 #3
0
파일: 1-DELTA.py 프로젝트: buchuki/oneday
#!/usr/bin/python3
from todo.utils import open_day
import sys

try:
    open_day(int(sys.argv[1]))
except ValueError:
    print("Argument must be an integer")
except IndexError:
    print("Please specify the number of days from today")
예제 #4
0
#!/usr/bin/python3
from todo.utils import open_day

open_day(-1)