import random module
R.Brodie at rl.ac.uk
Wed Mar 22 18:03:41 CET 2006
"Benjamin Niemann" <pink at odahoda.de> wrote in message news:dvrvnf$gu3$1 at online.de...
> Don't name your script 'random.py' (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