import random error
A.M. Kuchling
amk at amk.ca
Thu Aug 5 17:38:22 EDT 2004
On 5 Aug 2004 14:24:57 -0700,
Rob B <mrbrown200425 at yahoo.com> wrote:
> I have such a feeling that this is either a) because I don't know what
> I'm doing or b) the python install is somehow strange. What is strange
It's a common mistake; the 'import math' is importing your math.py, not
Python's 'math' module. Rename your file to random-test.py or something
else that doesn't conflict, and it should work.
--amk
More information about the Python-list
mailing list