Day 7 of learning python 🐍. Today's project – a password generator in Python. ...

in DBuzz β€’ last year

... This project took me two full days to make. Happy Learning 🎊
#100daysofcode #python #proofofbrain #technology #tech



Posted via D.Buzz

Sort: Β 
Β last yearΒ Β 

Woooww it's so cool to mess around with these codes for two days. πŸ˜€

Posted via D.Buzz

You should see my initial code, it was a jumbled mess

Posted via D.Buzz

Hey another nice one to learn from. This app would be perfect to use arguments on the command line for your options. I just wrote about how to use them in python...

Check it out here: https://hive.blog/python/@agileautomation/python-tips-parsing-arguments-for-your-application

Yes thank you

Posted via D.Buzz

Another tip, there are some great built in functions using the string library to get those letter sets. Try these out for example:

import string
print(string.ascii_uppercase)
print(string.ascii_lowercase)
print(string.ascii_letters)
print(string.digits)
print(string.printable)

They will output what you need automatically:

ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789
0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
Β last yearΒ Β 

Wooww this is great.
Writing code with Python must be a great experience. πŸ˜€

Posted via D.Buzz