This is a simple password generator program written in Python. It allows users to generate random passwords based on different criteria such as alphabetic characters, numbers, symbols, or a combination of all three. The generated passwords can be saved to text files.
- Generate random passwords using different criteria:
- Alphabetic characters (uppercase and lowercase)
- Numbers
- Symbols
- Combination of alphabetic characters, numbers, and symbols
- Specify the length of the password
- Save generated passwords to text files
- User-friendly menu for easy interaction
- Python 3.x
-
Clone the repository or download the
password_generator.py
file. -
Open a terminal or command prompt and navigate to the directory where the
password_generator.py
file is located. -
Run the following command to execute the program:
python password_generator.py
-
Follow the on-screen instructions to select the type of password and specify the length.
-
Once the password is generated, you will be prompted to save it to a text file. Enter 'yes' or 'no' to proceed.
-
If you choose to save the password, enter a file name for the text file (without the file extension).
-
The generated password will be saved in a text file with the provided name in the same directory as the
password_generator.py
file. -
You can repeat the process to generate more passwords or choose to exit the program.