[Tutor] printing the random seed?

kevin parks kp8 at mac.com
Thu Feb 2 06:24:54 CET 2006


hi.

I am having some fun with python and making multiple runs on an 
algorhythm and sometimes getting some fun stuff that i would like to be 
able to reproduce, but there are some random elements in it. I wonder 
is there a way to see the random seed, and make note of it so that you 
could then set the seed for a subsequent run to get the same 
(initially) random results?

cheers,

kevin

  (Hi Danny, if you are still here!)



More information about the Tutor mailing list