示例#1
0
#!/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)