Re: random seed

2005-08-16 Thread vivek7006
Thanks. I guess I will use the system time and pass it as seed explicitly. My goal is to replicate the random numbers that I generate to ensure repeatabilty in the regression test suite that I am trying to write. -- http://mail.python.org/mailman/listinfo/python-list

random seed

2005-08-16 Thread vivek7006
By default, randomm module uses the timestamp to generate the seed value. Is it possible to know what that seed value is? import random random.random() # How do I print the current value of the seed? Thanks Vivek -- http://mail.python.org/mailman/listinfo/python-list