Doc random.seed() - Python2.7 : current time or from an operating system specific randomness source if available (see the
os.urandom()
function for details on availability)
So os.urandom()
in most cases.
Doc os.urandom() :
On a UNIX-like system this will query /dev/urandom
, and on Windows it will use CryptGenRandom()