A simple and secure password generator with customizable length and optional saving to a text file.
- Generates strong, random passwords with letters, numbers, and special characters.
- Customizable password length.
- Option to save the generated password in a
.txt
file at a user-specified location. - Lightweight and easy-to-use script with a clean command-line interface.
____ __ ____ ____ _ _ __ ____ ____ ___ ____ __ _
( _ \ / _\ / ___)/ ___)/ )( \ / \( _ \( \ / __)( __)( ( \
) __// \\___ \\___ \\ \/ /( O )) / ) D ( ( (_ \ ) _) / /
(__) \_/\_/(____/(____/(_/\_) \__/(__\_)(____/ \___/(____)\_)__)
- Python 3.x installed on your system.
-
Clone the repository or download the
password_gen.py
file.git clone https://github.com/your-repo/password-generator.git cd password-generator
-
Ensure Python is installed and working:
python --version
-
Run the script:
python password_gen.py
-
Follow the prompts:
- Enter the desired password length.
- Decide if you want to save the password to a
.txt
file. - Provide a directory path if saving the password.
-
The password will be displayed and optionally saved in the specified location.
- If saving, the password is stored in
password.txt
:YourGeneratedPassword123! ---------------------
Use strong passwords responsibly and avoid storing them in unsecured locations.
This project is licensed under the MIT License. See the LICENSE file for details.
Made with ❤️ by Nefrarius using Python
```