2008/12/14 Ian Mallett <geometr...@gmail.com>: > It's the pygame.locals line: > >>>> import pygame >>>> pygame.Rect(0,0,5,6) > <rect(0, 0, 5, 6)> >>>> Rect(0,0,5,6) > > Traceback (most recent call last): > File "<pyshell#2>", line 1, in <module> > Rect(0,0,5,6) > NameError: name 'Rect' is not defined >>>> from pygame.locals import * >>>> pygame.Rect(0,0,5,6) > <rect(0, 0, 5, 6)> >>>> Rect(0,0,5,6) > <rect(0, 0, 5, 6)> >>>> > Lots of thanks Ian
> Ian >