Password-Generator is a simple Python script that generates strong, random passwords based on user preferences. It provides a user-friendly interface to create secure passwords and save them for future reference.
- Generates random passwords of user-specified length.
- Option to include special characters for enhanced security.
- Saves passwords to a text file with timestamps for record-keeping.
- User-friendly interface with clear prompts and feedback.
Ensure you have Python 3.x installed on your system. No additional packages are required.
-
Clone the repository or download the password_gen.py script.
-
Open a terminal or command prompt.
-
Navigate to the directory containing the script.
-
Run the script using the command:
python3 password_gen.py
-
Follow the on-screen instructions to generate passwords.
Sample Output
################---WELCOME---################
#------------Password Generator-------------#
#------------Made-By-Hugo Vieira------------#
#--------------Fork-By-0xZ1R0---------------#
#############################################
(Press enter to exit)
How long is the password? 12
Include special characters? (Y/N): Y
Generated Password: Abc!123#Def$456
Save Password? (Y/N): Y
Password saved in file 'password.txt'.
Generate another password? (Y/N): N
Contributions are welcome! If you have any ideas or find a bug, please open an issue or submit a pull request.
Note: Passwords are saved in password.txt in the same directory. Keep this file secure and do not share passwords with untrusted parties.