forked from Kuhron/programming
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Daily.py
50 lines (36 loc) · 733 Bytes
/
Daily.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import os
def cont():
input("press enter to continue\n")
def do(s):
a = input(s + " [y]/n: ")
if a == "n":
return False
return True
def done():
print("done")
# subroutines
# please keep alphabetized
def doomsday():
if do("Doomsday"):
os.system("python3 Doomsday.py")
cont()
def liff():
if do("Meaning of Liff"):
os.system("python3 TheMeaningOfLiff.py")
cont()
def mood():
if do("Mood Tracker"):
os.system("python3 MoodTracker.py")
cont()
def rang():
if do("Rang"):
os.system("python3 Rang.py 2 y")
while do("again?"):
os.system("python3 Rang.py 2 y")
cont()
# routine
mood()
doomsday()
rang()
liff()
done()