Example #1
0
#!/usr/bin/python
from todo.utils import open_day

open_day(1)
Example #2
0
#!/usr/bin/python3
from todo.utils import open_day
open_day()
Example #3
0
#!/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")
Example #4
0
#!/usr/bin/python3
from todo.utils import open_day

open_day(-1)