|
| 1 | +import os |
| 2 | +from FileMenuExample import file_menu |
| 3 | + |
| 4 | +os.system('title J.C.R Soft~Choice') |
| 5 | + |
| 6 | +sounds=( |
| 7 | + 'Ring08','Alarm05','Windows Proximity Notification' |
| 8 | + ) |
| 9 | + |
| 10 | +text_features=( |
| 11 | + 'cls', # index 0 = clear screen |
| 12 | + '*'*118, # index 1 = 118 asterisks |
| 13 | + '\x1b[31m', # index 2 = red |
| 14 | + '\x1b[32m', # index 3 = green |
| 15 | + '\x1b[33m', # index 4 = yellow |
| 16 | + '\x1b[34m', # index 5 = blue |
| 17 | + '\x1b[35m', # index 6 = purple |
| 18 | + '\x1b[36m', # index 7 = cyan |
| 19 | + '\x1b[37m' # index 8 = white |
| 20 | + ) |
| 21 | + |
| 22 | +knowledge_poem=( |
| 23 | + f'''\n{text_features[7]}‘Knowledge’ |
| 24 | +is a free invention of the heart and of the mind itself! |
| 25 | +The only textbooks needed, are the heart and the mind. |
| 26 | +The only exam to be written is the key to ponder into wonder. |
| 27 | +For the heart and the mind hold the key to the greatest diploma of all, |
| 28 | +the dream’s creation of our imagination. |
| 29 | +For the heart and the mind are thus, the greatest teachers of us… |
| 30 | +Believe in yourself! For you are their greatest student. |
| 31 | +
|
| 32 | +THIS BELONGS TO EVERY MAN, WOMAN AND CHILD |
| 33 | +Never give up your dream, no matter how far away it may seem to be, because that is when it is ever so |
| 34 | +close to becoming true. If you dream of something long enough and strong enough, your dream will come |
| 35 | +true, when you least expect it. Always remember, we are never too young or too old to dream and use our |
| 36 | +imagination, for we only get one and it is ours forever. May your heart be filled with courage and |
| 37 | +compassion, and your mind be as limitless and as wondrous as the universe itself! |
| 38 | +If you dream it, you can be it. Believe it!\n''' |
| 39 | + ) |
| 40 | + |
| 41 | +logo=( |
| 42 | + f'\njoshua.computers.read/information', # index 0 = logo |
| 43 | + f'\n\nall rights reserved.' # index 1 = logo |
| 44 | + ) |
| 45 | + |
| 46 | +text_info=(f'\nPress (ENTER) to begin:') |
| 47 | + |
| 48 | +class Knowledge: |
| 49 | + def ponder(): |
| 50 | + os.system(text_features[0]) |
| 51 | + print(knowledge_poem) |
| 52 | + def jcr(): |
| 53 | + print(f'{text_features[2]}{text_features[1]}{text_features[8]}{logo[0].upper()}{logo[1].title()}') |
| 54 | + input(text_info).lower().strip() |
| 55 | + file_menu() |
| 56 | + |
| 57 | +Knowledge.ponder() |
| 58 | +Knowledge.jcr() |
0 commit comments