Links

Generate random secure password using python

Posted on 23 Mar, 2021
>>> import string, random
>>> print("".join([random.choice(string.ascii_letters + string.digits + string.punctuation) for _ in range(random.randint(12,15))])
)
X6[!:p0yTZ^+
​Credits​
''.join(random.choice(string.ascii_lowercase) for _ in range(260))