generated from alu-rwa-dsa/Final-Jan-April-2022
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.py
68 lines (68 loc) · 1.89 KB
/
menu.py
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# from main import Booking
# import tkinter.messagebox as tkMessageBox
# from tkinter import *
# import mysql.connector
# from mysql.connector import Error
#
# print("-----WELCOME TO D.Y.M.K Hospital Booking Services")
# Choice = input("""Available service:
# 1) Booking
# 2) Update an appointment
# 3) Delete an appointment
# 4) View appointments
# """)
#
#
#
#
# Hospitals = ['King-Faisal Hospital', 'CHUK Hospital', 'Polyfam Clinic']
#
# book = Booking()
# if Choice == "1":
# print("Available hospitals: ")
# a = 1
# for i in Hospitals:
# print(Hospitals.index(i) + 1, ")", i)
# hos = input()
# if hos == "1":
# book.king_faisal()
# if hos == "2":
# book.chuk_hospital()
# if hos == "3":
# book.polyfam_clinic()
# # if Choice == "2":
# # print("These are the available hospitals:")
# # a = 1
# # for i in Hospitals:
# # print(Hospitals.index(i) + 1, ")", i)
# # hos = input()
# # if hos == "1":
# # update.king_faisal()
# # if hos == "2":
# # update.chuk_hospital()
# # if hos == "3":
# # update.polyfam_clinic()
# # if Choice == "3":
# # print("These are the available hospitals:")
# # a = 1
# # for i in Hospitals:
# # print(Hospitals.index(i) + 1, ")", i)
# # hos = input()
# # if hos == "1":
# # delete.king_faisal()
# # if hos == "2":
# # delete.chuk_hospital()
# # if hos == "3":
# # delete.polyfam_clinic()
# # if Choice == "4":
# # print("These are the available hospitals:")
# # a = 1
# # for i in Hospitals:
# # print(Hospitals.index(i) + 1, ")", i)
# # hos = input()
# # if hos == "1":
# # view.king_faisal()
# # if hos == "2":
# # view.chuk_hospital()
# # if hos == "3":
# # view.polyfam_clinic()