Question: 1 . Create a readable text file which stores at least 1 0 administrative name and password. The GUI should have initially two labels which

1. Create a readable text file which stores at least 10 administrative name and password. The GUI should have initially two labels which are name and password and a button called login. The entry in the name and the password label should be matched from the 10 administrative names and passwords from the readable text file after the login button is clicked. If it doesnt match with any of those 10 entries, an error message should pop up. Otherwise, the user should be let in for the next stage. The name and password should be stored in a dictionary while being compared after the file is read.
Sample readable text from the file:
Virgil abc123
Trent hgf785
Alexis jkh452

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!