This is a simple Python script that generates random passwords. It uses a combination of lowercase letters, uppercase letters, numbers, and symbols to create strong and secure passwords.
To use this script, follow the instructions below:
- Clone the repository to your local machine or download the ZIP file.
git clone https://github.com/QC20/password-generator.git
-
Make sure you have Python installed on your system. This script has been tested on Python 3.7+.
-
Run the script by executing the following command:
The script will generate a random password and display it in the console.
If you want to customize the password generation, you can modify the following variables in the script:
lower
: A string containing all lowercase letters used in password generation.upper
: A string containing all uppercase letters used in password generation.numbers
: A string containing all numbers used in password generation.symbols
: A string containing all symbols used in password generation.length
: The length of the generated password.
Feel free to modify these variables to suit your specific requirements.
Here's an example output of the script:
$ python password_generator.py
- rT]c$6Pz0@7&i8LN
- g(uD+9Ek?4]Iv#QJ
- !3c}1S{y-Lj6$2uA
- 5Y~!hP@m9s7b}C#B
- b4Xa3D5u#z)R]Qsn
- v^J0wF+1g$%l(2dM
- H9x{!LmZ[5G$@6wi
- 7bOx]eG$r3}v&A1w
- p2K#dU7VzR3J5Q(A
- eF8#R@Nq4%mXp5tY
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. Feel free to use, modify, and distribute this code as per the terms of the license.
- This script was inspired by the need for strong and secure passwords in various applications.
- Thanks to the Python community for creating and maintaining the random module used in this script.