-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
49 lines (44 loc) · 1.21 KB
/
Copy pathmain.py
File metadata and controls
49 lines (44 loc) · 1.21 KB
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
# main.py
import time
import os
import sys
def main():
print()
print('=' * 50)
print('Welcome to the Python Vault! - Loading Modules...')
time.sleep(1)
print('Choose a module to explore:')
print('=' * 50)
print('1. Hello World Intro')
print('2. Bleh Calculator')
print('3. Web API Automations')
print('4. Data Science')
print('5. Machine Learning')
print('6. Gui Interactions')
print('0. Exit')
print('=' * 50)
choice = input('Enter choice: ')
if choice == '1':
from basics import hello_world
hello_world.main()
elif choice == '2':
from basics import basic_calculator
basic_calculator.calculator()
elif choice == '3':
from intermediate import todo_list
todo_list.todo_app()
elif choice == '4':
from intermediate import bank_system
bank_system.bank_app()
elif choice == '5':
from intermediate import unit_testing
unit_testing.TestAlgos()
elif choice == '6':
from basics import basic_calculator
basic_calculator.calculator()
elif choice == '0':
print('Exiting...')
else:
print('Invalid choice.')
if __name__ == "__main__":
main()