[Tutor] Random Number Question
Alan Gauld
alan.gauld at btinternet.com
Thu Nov 25 02:27:32 CET 2010
"Jeff Goodwin" <jeffbgoodwin at gmail.com> wrote
> Ok, I found the problem, I had saved the file as random.py looks
> like that
> was a no-no. Its working now that I changed the name.
Yes that's a bad idea. You probably figured out why, but just in
case...
>>>
>>> import random
It tries to import itself, which then tries to import itself,
which then..... infinite loop time...
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list