Nobody seems to be in hurry. Normally you continue after password match and otherwise exit. Your code is joke as you would have error latest at line 4. I do not understand also how you would check passwords from everybody and accept them to all users.
pyTony
pyMod
6,310 posts since Apr 2010
Reputation Points: 879
Solved Threads: 987
Skill Endorsements: 26
Enalicho
Junior Poster in Training
62 posts since Aug 2011
Reputation Points: 28
Solved Threads: 13
Skill Endorsements: 0
I would prefer to use withdrawn tkinter password entry window, even from console app.
pyTony
pyMod
6,310 posts since Apr 2010
Reputation Points: 879
Solved Threads: 987
Skill Endorsements: 26