-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmask_test.py
More file actions
36 lines (29 loc) · 1.1 KB
/
mask_test.py
File metadata and controls
36 lines (29 loc) · 1.1 KB
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
import stdiomask,datetime,os,readline
exit = False
def Main():
test = stdiomask.getpass(prompt = 'Password: ')
birthday = input('Employee birthday (YYYY-MM-DD) > ')
year, month, day = map(int, birthday.split('-'))
formattedBirthday = datetime.date(year, month, day)
print(year)
print(datetime.datetime.today())
def addEmployee():
os.system('clear')
fName = input('Employee first name > ')
mName = input('Employee middle name > ')
lName = input('Employee last name > ')
birthday = input('Employee birthday (YYYY-MM-DD) > ')
year, month, day = map(int, birthday.split('-'))
formattedBirthday = datetime.date(year, month, day)
def social():
social = stdiomask.getpass(prompt = 'Employee social security number (XXX-XX-XXXX) > ')
confirmedSocial = stdiomask.getpass(prompt = "Confirm SSN > ")
if confirmedSocial == social:
pin = stdiomask.getpass(prompt = 'Employee PIN number > ')
lName = input('Employee last name > ')
lName = input('Employee last name > ')
lName = input('Employee last name > ')
lName = input('Employee last name > ')
else:
print("SSN's did not match. Please try again.")
social()