The code resides on GitHub: Https://github.com/dachenzi/UserLoginScript
Basic Requirements
- Let the user enter the user name password
- Show welcome message after successful authentication
- Exit the program after a three-time error
Upgrade Requirements
- Can support multiple users login (prompt, through the list to save multiple account information)
- After the user 3 authentication failed, quit the program, start the program again when attempting to log on, or lock the status (hint: the user locked state must be stored in the file)
Catalogue Description
- Bin: Directory of program executable files
- Conf: Configuration file directory
- DB: Data storage directory
- Libs: Dependent library file directory
- Logs: Log store directory
Program Description
- Execute bin/main.py Run Program
- The user is stored in db/account_db, read with Configparser, password is MD5 encrypted string, the initial password is 123456
Python Stage review-Part 4-User Login Program