Thanks Adam and Alan for responding, I'm very much a non-programmer, but my 14 year old son wants to learn, so I have to learn to teach him...slow process lol. Happy Thanksgiving! Jeff
On Wed, Nov 24, 2010 at 8:27 PM, Alan Gauld <alan.ga...@btinternet.com>wrote: > > "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 >
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor