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
I know this question was posted back in 2011, but for those coming to it now in 2014 and beyond, I have one thing to say: RESIST THE URGE TO REINVENT THE WHEEL.
In these situations your best bet is to search for open-source software, e.g., constrain your search to github results. By far the best thing I've found:
https://github.com/redacted/XKCD-password-generator