Professional Documents
Culture Documents
Message
Message
Message
def __init__(self):
pass
def all_project(self):
with open("projects.txt", "r") as read_proj:
for item in read_proj:
print(item)
def Menu():
proj = Project()
while True:
if choice == 1:
id_num = int(input("Enter ID: "))
title = str(input("Enter Title: "))
size = int(input("Enter size: "))
priority = int(input("Enter priority: "))
elif choice == 3:
print("[A] Create a Schedule")
print("[B] View updated Schedule")
if sub_choice == 'A':
print("entered create a schedule")
elif sub_choice == 'B':
print("entered view updated schedule")
else:
print("\n ****** Invalid Input! *****")
elif choice == 4:
print("[A] Show a message that the topmost project from the queue is
removed. ")
print("[B] Place the removed project's details to the Completed
Projects text file")
print("[C] Display the queue showing that the topmost project has been
removed.")
if sub_choice == 'A':
print("entered A")
elif sub_choice == 'B':
print("entered B")
elif sub_choice == 'C':
print("entered C")
else:
print("\n ****** Invalid Input! *****")
elif choice == 5:
break
else:
print("\n*********************************")
print("\tInvalid Input. Try Again!")
print("*********************************")
Menu()