This is a simple command-line password generator built in Python. The app allows you to generate secure random passwords based on your preferences, such as password length and whether to include digits, special characters, and uppercase or lowercase letters. The app runs interactively, asking for input from the user and generating the password accordingly.
- Customizable length: Choose how long you want the password to be.
- Include digits: Optionally include numbers (0-9) in the password.
- Include special characters: Optionally include special characters like !@#$%^&*.
- Include uppercase letters: Optionally include uppercase letters (A-Z).
- Include lowercase letters: Optionally include lowercase letters (a-z).
- Interactive input: The app prompts you to specify your preferences before generating the password.
Here’s a sample output of the app:
How long do you want the password to be? 12
Include digits? (y/n): y
Include special characters? (y/n): y
Include uppercase letters? (y/n): y
Include lowercase letters? (y/n): y
Generated password: A7@b9Fg!3jLp