I\'m interested in creating a very simple, high (cryptographic) quality random password generator. Is there a better way to do this?
import os, random, strin
FYI for anyone running across this question in the year 2020+. Python 3.6+ has a secrets module specifically for this purpose:
secrets
import secrets password_length = 13 print(secrets.token_urlsafe(password_length))