Skip to content

Commit

Permalink
Added the basic menu layout
Browse files Browse the repository at this point in the history
- Add or remove functions based on requirement
- Comment any explicit changes made to the code or mention changes during Pull Request
- Please keep the code as neat as possible , follow right amount of indentation
- Remember to create a separate branch first, and then commit changes to that branch. Do not commit to the main branch.
  • Loading branch information
gaius-r authored Nov 4, 2020
1 parent b565c8f commit 082352d
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions menu.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# ARTH TASK - Python scripting for all Technologies learnt
# Try to keep the code as neat as possible for easy understanding of changes and control flow

# function to launch AWS instances
def lcaws():
return


# function to launch Hadoop cluster
def lchadoop():
return


# function to launch Docker containers
def lcdocker():
return


# function to simulate ML models
def simml():
return


# add more functions if required below -


while True:
print("\n\t\t\t\t-------------------\n\t\t\t\t| TECH STACK MENU |\n\t\t\t\t-------------------\n")

# Add menu options based on your requirement or idea. These are just temporary for now.
# Based on added menu options, create functions too with additional elif statements.
print("1. Launch AWS Instance\t 2. Launch Hadoop Cluster\t3. Launch Docker Containers\n4. Simulate ML Model\n")
print("Press Q to quit.\n")
choice = raw_input("Enter your choice : ")

if choice == '1':
lcaws()
elif choice == '2':
lchadoop()
elif choice == '3':
lcdocker()
elif choice == '4':
simml()
elif choice == 'Q' or choice == 'q':
break
else:
print("Invalid choice!!! Choose from 1-4 or Press Q to exit.\n")

0 comments on commit 082352d

Please sign in to comment.