import random module

Richard Brodie R.Brodie at
Wed Mar 22 18:03:41 CET 2006

"Benjamin Niemann" <pink at> wrote in message news:dvrvnf$gu3$1 at

> Don't name your script '' (or any other name from the stdlib).
> 'import random' will import the script itself (not the random module from
> the stdlib), which is not what you want.

I discovered long, long ago that giving your variables meaningful
names only leads to confusion. ;) 

More information about the Python-list mailing list