Random and whrandom

cpsoct at my-deja.com cpsoct at my-deja.com
Wed Jan 24 05:04:34 EST 2001


but to get back to my original question. I should import random and not
whrandom?  But then i notice that seed is in whrandom? Hmmm. so i need
to import both? And why are there 3 seed values? In C, there was just
one. and, what then is rand? id that depreciated?

i want to get random numbers, but seeded ones (so i can duplicate my
run). Frankly i don't understand why python has two random modules in
its standard library and how these namespaces might overlap.

It would be great if the random whrandom poop could be cleaned up in
future versions of python. One clear module.

I am so confused </wlecome back kotter allusion mode off>

kevin parks
seoul, korea
cpsoct at lycos.com


Sent via Deja.com
http://www.deja.com/



More information about the Python-list mailing list