29 lines
566 B
Python
29 lines
566 B
Python
|
|
from app.utils.config import debug
|
|
from app.utils.system import clear_console
|
|
#from test_module import *
|
|
|
|
|
|
def main_menu():
|
|
clear_console()
|
|
while True:
|
|
print('\nMain Menu:')
|
|
print('1. Start')
|
|
print('0. Exit')
|
|
|
|
choice = input('Select an option: ')
|
|
|
|
clear_console()
|
|
if choice == '1':
|
|
#return test()
|
|
return
|
|
|
|
elif choice == '0':
|
|
print('Exiting program...')
|
|
break
|
|
else:
|
|
print('Invalid option')
|
|
|
|
if __name__ == "__main__":
|
|
main_menu()
|