Inspiration

I really wanted to try to convince myself that I could actually make something in Python. For the past month, I've just been memorizing commands and struggling with examples. So, for this hackathon, I chose a small project that I felt reasonably comfortable with and executed it to the best of my ability. I'm rather proud of myself for completing it and I honestly feel like I've learned so much from the intro to python course, and just working with the code.

What it does

Based on your input, this program will output a password of any length containing lowercase letters, uppercase letters, symbols, and numbers (you can choose which of those 4 to include).

How we built it

I primarily utilized lists and indexing to create this will a fair bit of the random library sprinkled in.

Challenges we ran into

In the project, I essentially created a list containing the number you requested for the length of each of the symbols. However, this list was organized into which symbols were picked first, and obviously, there were more symbols contained in this list than were required (Ex. if you chose length 4 and said yes to all 4 symbols, this list would look like this, abhx6846LRIO^-+}) I needed to figure out the random.shuffle command, then pick a random number, add your length to it then index the string with those numbers. This spurted a whole host of other problems that then needed tackling.

Accomplishments that we're proud of

I learned how to use commands that I hadn't even heard of previously. The greatest skill I've acquired is the ability to google what I don't know in a way that will output useful information, then skim long pages of info for the particular things I needed. Using google to help myself code was always really difficult as I didn't know what I wanted to ask or even have a plan in place for what I needed to do.

What we learned

See above: how to efficiently use google to supplement my current knowledge.

What's next for Random Password generator

If I were to expand upon this project, I would like to take into account more potential inputs. At this point, the program accepts an int, then Yy/Nn. If those criteria aren't honored, it will simply tell you your password could not be created but not really give a reason. I'd like to polish this up.

Built With

Share this project:

Updates