Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # BIT PROGRAM
- # PROGRAM FOR ENTERTAINMENT AND USEFULNESS
- import sys
- import os
- import time
- ans = True
- width = os.get_terminal_size().columns
- def menu():
- import sys
- import os
- import time
- while ans:
- os.system('clear')
- os.system('figlet BIT'.center(width))
- print('0 - Exit')
- print('1 - Date/Time')
- print('2 - Calendar')
- print('3 - Computer Hardware')
- print('4 - Fortune')
- print('5 - Train')
- print('6 - Matrix')
- print('7 - Cowsay')
- print('8 - DOOM')
- print('9 - DOOM2')
- print('10- Python')
- print('11- Joe')
- print('12- Nano')
- print('13- Terminal')
- print('')
- pick = input("Choose your destiny: ")
- if pick == "0":
- os.system('quit')
- elif pick == "1":
- os.system('date')
- time.sleep(7)
- elif pick == "2":
- os.system('calendar')
- time.sleep(7)
- elif pick == "3":
- os.system('lscpu')
- time.sleep(7)
- elif pick == "4":
- os.system('fortune')
- time.sleep(7)
- elif pick == "5":
- os.system('sl')
- time.sleep(7)
- elif pick == "6":
- os.system('cmatrix')
- time.sleep(7)
- elif pick == "7":
- os.system('cowsay muuu!')
- time.sleep(7)
- elif pick == "8":
- os.system('/home/junior/doom.sh')
- elif pick == "9":
- os.system('/home/junior/doom2.sh')
- elif pick == "10":
- os.system('python3')
- elif pick == "11":
- os.system('joe')
- elif pick == "12":
- os.system('nano')
- elif pick == "13":
- os.system('terminal')
- menu()
Add Comment
Please, Sign In to add comment