-
Notifications
You must be signed in to change notification settings - Fork 1
/
updatedataset.py
38 lines (28 loc) · 894 Bytes
/
updatedataset.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
import sys
import os
#Update the data for user options
def updateDataset():
print("")
print(" Please choose from below ")
print("############################")
print(" (1) Update Data")
print("")
print(" (2) Return to Admin Menu ")
print("")
print(" (3) Exit program ")
print("#############################")
print("")
choice3 = int(input("> "))
if (choice3 == 1):
print(" Updating Data on file ....")
import sharkattackdata
elif (choice3 == 2):
print("Loading Admin Menu...")
import adminmenu
elif (choice3 == 3):
print("Exiting Program.....")
import exitprogram
elif (( choice3 != 1 or choice3 != 2 or choice3 !=3 )):
print(" Not a valid choice, please try again!!!")
import adminmenu
updateDataset()