-
Notifications
You must be signed in to change notification settings - Fork 2
/
Master.py
34 lines (23 loc) · 839 Bytes
/
Master.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
import os
from threading import Thread
from functools import partial
import time
print("WELCOME TO THE RAILWAY RESERVATION SYSTEM: \n")
while(True) :
print("===================================")
print("1. Admin Procedure")
print("2. Booking Procedure");
print("3. Search Procedure");
print("=================================== \n")
option = int(input("Enter Option: "))
if option == 1:
os.system('javac Admin.java')
os.system('java Admin')
elif option == 2:
os.system('javac client.java')
os.system('java client')
elif option == 3:
os.system('javac SearchProcedure.java')
os.system('java SearchProcedure')
else :
break