This program generates a random password based on user input for the number of letters, symbols, and numbers. The password includes a mix of these characters, with their positions randomized to make it more secure. This program helps create strong passwords that are harder for hackers to guess.
- Level: Intermediate
- Skills: Python, Lists, Loops, Random Module, Input Validation, Error Handling
- Domain: Cybersecurity, Utility
- Name: Pranjal Sarnaik
- Date: 2024-12-01
- Takes user input for the desired number of letters, symbols, and numbers.
- Ensures randomness by shuffling the final password characters.
- Includes error handling using a while loop and try-except block to validate user inputs.
- Clone this repository:
git https://github.com/pranjalco/password-generator-intermediate.git
- Navigate to the project directory:
cd password-generator-intermediate
- Ensure Python 3.9 or later is installed on your system.
- To run the program:
- Using PyCharm: Open the project in PyCharm and run
password_generator.py
. - Using Terminal/Command Prompt: Navigate to the project folder and execute:
python password_generator.py
- By Double-Clicking: You can double-click
password_generator.py
to run it directly, provided Python is set up to execute.py
files on your system.
- Using PyCharm: Open the project in PyCharm and run
- If the console window closes immediately, run the program from the terminal/command prompt or IDE to see the output.