-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPoemClass.py
290 lines (262 loc) · 10.6 KB
/
PoemClass.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
import sys
class Poem:
def idkwts_poem(self):
print('''
I remember a time when I would
churn out love poems like a chef would
churn out meals,
My notebooks were never empty,
my pens always out of ink,
But now, I can never start a poem without
frustration, hitting my head like a hammer to
soft brick,
I find it even harder to finish.
I have all of these thoughts in my head,
conversations I've had with myself that I had
to write down,
But it never feels the same.
I've swapped my pen for a pencile because I don't
take my writing seriously anymore.
All I wanna do is tell you what I tell you every time
I see you,
But in a way that makes it special every time I do.
''')
def idkwts(self):
return('''
I remember a time when I would
churn out love poems like a chef would
churn out meals,
My notebooks were never empty,
my pens always out of ink,
But now, I can never start a poem without
frustration, hitting my head like a hammer to
soft brick,
I find it even harder to finish.
I have all of these thoughts in my head,
conversations I've had with myself that I had
to write down,
But it never feels the same.
I've swapped my pen for a pencile because I don't
take my writing seriously anymore.
All I wanna do is tell you what I tell you every time
I see you,
But in a way that makes it special every time I do.
''')
def tlinmw_poem(self):
print('''
You have always, been the light in my world,
You have been the essence of the earth that keeps me
around and alive,
You provide me with the requirements necessary to build
a life,
Most of all, you're the only source of hope that is
yet to extinguish.
You have a bad day but you push it under the rug
You bury your head inside of a book and you do whatever
it takes to make the bad day, worth it.
You help me out of my shell, you helped me out of the
prison that I was forced in to
by the people who were afraid of me,
You, you were the key to the door,
You are the future of my being.
I know you shouldn't be the dependancy of my happiness,
You shouldn't have more weight and more worlds on your
shoulders,
But I wanted to let you know that without you,
There would be no fire, there would be no gentle breeze
in the Summer.
I don't regret a thing about us, other than the fact we
can't spend more time together.
I love you infinity,
I'll be with you for always,
Just as the sun never sets, never will the feelings I have
for you, deplete into nothing.
''')
def tlinmw(self):
return ('''
You have always, been the light in my world,
You have been the essence of the earth that keeps me
around and alive,
You provide me with the requirements necessary to build
a life,
Most of all, you're the only source of hope that is
yet to extinguish.
You have a bad day but you push it under the rug
You bury your head inside of a book and you do whatever
it takes to make the bad day, worth it.
You help me out of my shell, you helped me out of the
prison that I was forced in to
by the people who were afraid of me,
You, you were the key to the door,
You are the future of my being.
I know you shouldn't be the dependancy of my happiness,
You shouldn't have more weight and more worlds on your
shoulders,
But I wanted to let you know that without you,
There would be no fire, there would be no gentle breeze
in the Summer.
I don't regret a thing about us, other than the fact we
can't spend more time together.
I love you infinity,
I'll be with you for always,
Just as the sun never sets, never will the feelings I have
for you, deplete into nothing.
''')
def iw_poem(self):
print('''
I close my eyes,
wake up in the morning, before I realise,
You're still here,
I thought you left forever, but you're still my dear.
I just can't believe,
That I have you, in my arms,
I wanna hold you close,
maybe for a lifetime - never let you go,
I love you,
tears hit my cheek, but I know it to stand true,
I just can't believe,
that I have you, in my arms!
I'll wait up,
I understand your work is so challenging,
But I'll still miss you,
Waiting for the phone is like an eternity,
I want to believe,
You'll let me hold you, in my arms,
I wanna hold your hand,
Just for a moment, but I see the crack,
I love you,
But all you do is smile and never say it back,
I want to believe,
You'll let me hold you, in my arms!
''')
def iw(self):
return ('''
I close my eyes,
wake up in the morning, before I realise,
You're still here,
I thought you left forever, but you're still my dear.
I just can't believe,
That I have you, in my arms,
I wanna hold you close,
maybe for a lifetime - never let you go,
I love you,
tears hit my cheek, but I know it to stand true,
I just can't believe,
that I have you, in my arms!
I'll wait up,
I understand your work is so challenging,
But I'll still miss you,
Waiting for the phone is like an eternity,
I want to believe,
You'll let me hold you, in my arms,
I wanna hold your hand,
Just for a moment, but I see the crack,
I love you,
But all you do is smile and never say it back,
I want to believe,
You'll let me hold you, in my arms!
''')
def iwynrh_poem(self):
print ('''
It's a matter of minutes, since I saw you,
Desperate? Yes.
The scent of your fabric softener still
caresses my senses, beautiful.
Your smile is still fresh in my mind,
those sweet words you whispered
in my ear,
I miss you too.
''')
def iwynrh(self):
return '''
It's a matter of minutes, since I saw you,
Desperate? Yes.
The scent of your fabric softener still
caresses my senses, beautiful.
Your smile is still fresh in my mind,
those sweet words you whispered
in my ear,
I miss you too.
'''
def nasano_poem(self):
print ('''
I couldn't find the pain to write, the voice to sing,
I hear the ringing of my phone and I know it's him,
The herald of failure, knocking at my door step,
Flexing his muscles, but I know I'm getting a slow death,
I left it too late - I always knew,
I'd this was never what I was meant to do,
The ink on my paper seems to dry out, as
the voices in my head are dying out,
The silence is deafening, the screams all perverted,
Whispers in the dark - how was it, I deserve this?
''')
def nasano(self):
return '''
I couldn't find the pain to write, the voice to sing,
I hear the ringing of my phone and I know it's him,
The herald of failure, knocking at my door step,
Flexing his muscles, but I know I'm getting a slow death,
I left it too late - I always knew,
I'd this was never what I was meant to do,
The ink on my paper seems to dry out, as
the voices in my head are dying out,
The silence is deafening, the screams all perverted,
Whispers in the dark - how was it, I deserve this?
'''
def poem_choice(firstPoem):
userChoice = input("Please select a poem (1-5) \n1 - I don't know what to say \n2 - The light in my world \n3 - I Wanna \n4 - I Want You Here \n5 - Not As Strong As An Oak \nOr press 0 to exit \n")
userChoice = int(userChoice)
while userChoice != 0:
if userChoice == 1:
firstPoem.idkwts_poem()
firstPoem.save_idkwts(firstPoem)
if userChoice == 2:
firstPoem.tlinmw_poem()
firstPoem.save_tlinmw(firstPoem)
if userChoice == 3:
firstPoem.iw_poem()
firstPoem.save_iw(firstPoem)
if userChoice == 4:
firstPoem.iwynrh_poem()
firstPoem.save_iwynrh(firstPoem)
if userChoice == 5:
firstPoem.nasano_poem()
firstPoem.save_nasano(firstPoem)
print("\n")
userChoice = firstPoem.poem_choice()
def save_idkwts(self, firstPoem):
savePoem = input("Would you like to save the poem to a text file? Yes or no?\n")
while savePoem == "yes" or savePoem == "Yes":
f = open("I Don't Know What To Say.doc", "w")
f.write(firstPoem.idkwts())
f.close()
break
def save_tlinmw(self, firstPoem):
savePoem = input("Would you like to save the poem to a text file? Yes or no?\n")
while savePoem == "yes" or savePoem == "Yes":
f = open("The Light In My World.doc", "w")
f.write(firstPoem.tlinmw())
f.close()
break
def save_iw(self, firstPoem):
savePoem = input("Would you like to save the poem to a text file? Yes or no?\n")
while savePoem == "yes" or savePoem == "Yes":
f = open("I Wanna.doc", "w")
f.write(firstPoem.iw())
f.close()
break
def save_iwynrh(self, firstPoem):
savePoem = input("Would you like to save the poem to a text file? Yes or no?\n")
while savePoem == "yes" or savePoem == "Yes":
f = open("I Want You Here.doc", "w")
f.write(firstPoem.iwynrh())
f.close()
break
def save_nasano(self, firstPoem):
savePoem = input("Would you like to save the poem to a text file? Yes or no?\n")
while savePoem == "yes" or savePoem == "Yes":
f = open("Not As Strong As An Oak.doc", "w")
f.write(firstPoem.nasano())
f.close()
break