What it does

It generates 2 passwords from an array of characters by choosing each character at random

How we built it

I used Python IDLE

What's next for Python Password Generator

Maybe integrating a GUI to it soon

Check out the code

import random
chars="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZJ1234567890!@#$%^&*()_-+=<>?|\/~"

password_len = 15
password_count = 2
for x in range(0,password_count):
    password = " "
    for y in range(0,password_len):
        password_char = random.choice(chars)
        password = password + password_char
    print("Here is your password:",password)

Built With

Share this project:

Updates