Python Starting
Contents
Every language starts with “hello world”, as a DevOps, I’m going to start with environment~~
- Windows 10 (nothing special)
- Chocolatery https://chocolatey.org/install
- Python
|
|
Basic command:
|
|
Play with string in bit more advance:
|
|
A basic login design:
- Login portal
- Asking for username and password
- Welcome message if authenticated successfully
- Lock the account if the authentication failed more than 3 times
- Multi-level menu
- 3 levels
- Select to sub-menu
- Use “List”, “Dictionary”
|
|
data.json:
|
|
Try more next time…