This is a Python project that creates random and secure passwords and saves them to a file. You can customize the number of passwords, the file name, and the character types for each password.
- Creates passwords of variable length from 6 to 16 characters
- Combines letters, digits, and punctuation symbols
- Prevents duplicate passwords
- Checks user input and handles errors
- Appends passwords to a text file with separators
Usage
To run this project, you need Python 3 on your system. You can execute the project by typing this command in your terminal:
python password_generator.py
You will be asked to enter the number of passwords you want and the file name to save them to. For each password, you will also be asked if you want to include uppercase letters, lowercase letters, digits, or punctuation symbols. You can type Y or N to answer. The program will generate and display the passwords, and write them to the file. You can press enter to exit the program.