random changes

dan danbmil99 at yahoo.com
Sun Aug 10 02:17:42 EDT 2003


"Raymond Hettinger" <vze4rx4y at verizon.net> wrote in message news:<S_PYa.73$pn3.65 at nwrdny01.gnilink.net>...

> So, to get your old results with Py2.3, try something like:
> 
> import random
> rng = random.WichmannHill()
> rng.whseed(12345)
> for i in range(6):
>     print rng.randint(1, 10)
> 
that worked, thanks




More information about the Python-list mailing list