-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.py
60 lines (49 loc) · 1.6 KB
/
app.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
51
52
53
54
55
56
57
58
59
60
from ikigai import Ikigai
from questions import Questions
#Initialization
"""
slove = ["default"]
sgood = ["default"]
sneeds = ["default"]
spaid = ["default"]
my_ikigai = Ikigai(slove, sgood, sneeds, spaid)
"""
my_ikigai = Ikigai()
# Dialog
print("Language/Lingua (Enter/Escreva EN or/ou PT)")
language = input()
print("Whats your name?")
name = input()
print("Hi " + name + ". Welcome to the journy of discovering your Ikigai!")
print("The more you write the better, try to repeat words and write them in the same way (exemple same capitalization a != A). Everything is valid, write it all.")
print("What do you absolutly love to do? Genuinely enjoying the process. (Press x to exit)")
love = input()
while love != "x":
my_ikigai.love.append(love)
love = input()
print("What do you do better than average? Genuinely enjoying the processWhat are your talents. (Press x to exit)")
good = input()
while good != "x":
my_ikigai.good.append(good)
good = input()
print("What do you think the world needs? And what can you do for it. (Press x to exit)")
need = input()
while need != "x":
my_ikigai.need.append(need)
need = input()
print("What can you be paid for? What services can you provide. (Press x to exit)")
paid = input()
while paid != "x":
my_ikigai.paid.append(paid)
paid = input()
print("Whant more questions? (Press y, n or x)")
qst = Questions(my_ikigai, language)
print(qst.rndQuestion())
random = input()
while random != "x":
qst.saveAws(random)
random = input
# Generate
my_ikigai.generate()
my_ikigai.save("Ikigai_Results_" + name + ".txt")
my_ikigai.show_message()