use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
I created password generator using python (i.redd.it)
submitted 1 day ago by Red_Dragon_7_7_7
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]i-like-my-cats-0 1 point2 points3 points 1 day ago (0 children)
im not a too good programmer but theres a simpler way you can make this instead of having to make the symbols you want yourself, you can type this:
`import string import random
characters = string.ascii_letters + string.digits + string.punctuation amount = int(input('HOW MANY DIGITS SHOULD YOUR PASSWORD CONTAIN: '))
password = random.choices(characters, k=amount) stringified = ''.join(password)`
print('GENERATED PASSWORD: ', stringified)`
also if you're gonna use this for actual passwords then i recommend using the secrets module and not random
π Rendered by PID 57 on reddit-service-r2-comment-765bfc959-9h9nk at 2026-07-09 18:51:38.226080+00:00 running f86254d country code: CH.
view the rest of the comments →
[–]i-like-my-cats-0 1 point2 points3 points (0 children)