"Jeff Goodwin" <jeffbgood...@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/


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to