I\'ve been trying to find a more pythonic way of generating random string in python that can scale as well. Typically, I see something similar to
\'\'.join(r
Taken from the 1023290 bug report at Python.org:
junk_len = 1024 junk = (("%%0%dX" % junk_len) % random.getrandbits(junk_len * 8)).decode("hex")
Also, see the issues 923643 and 1023290