1import sys
2
3def main():
4
5 print '\nPassword Request Program v.01\n'
6
7 password = 'abcd'
8 user_input = raw_input('Please Enter Password: ')
9
10 if user_input != password:
11 sys.exit('Incorrect Password, terminating... \n')
12
13 print 'User is logged in!\n'
14
15if __name__ == "__main__":
16 main()
17