Robert Kern wrote:
> random.seed(1234567890)
>
> is traditional and works just fine.
>
> Other favorites:
>
> 3141592653589793
> 2718281828459045
Nothing beats 42!
(That was just an exclamation mark in the end, no factorial intended.)
371 is another nice number, since it's its own revers
[EMAIL PROTECTED] wrote:
> 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.
In that case you should just pick a single seed yo
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
[EMAIL PROTECTED] wrote:
> By default, randomm module uses the timestamp to generate the seed
> value. Is it possible to know what that seed value is?
From a (very) quick glance at the doc [1], I'm not sure you can get it.
But if you want to reuse it later (for a deterministic behaviour), you