-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.py
More file actions
31 lines (25 loc) · 702 Bytes
/
main.py
File metadata and controls
31 lines (25 loc) · 702 Bytes
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
# Password Manager
## MAIN PROGRAM ##
from lockmodule import *
fstpage()
go = True
while go:
try:
option = int(input("Enter 1 New Registration\nEnter 2 To Login\nEnter 3 To Exit\n: "))
if option == 1:
sndpage()
adduser()
print("""\n"Now You are member of LOCKWORD..."\n""")
elif option == 2:
trdpage()
username = input("Please enter your Username: ")
password = input("Please enter your Password: ")
login(username, password)
go=False
elif option == 3:
go = False
elif option >=3:
print("Error... please try again.\n")
except:
print("Error... please try again.\n")
## END MAIN PROGRAM ##