On 10/8/2016 11:51 PM, Cai Gengyang wrote:
pygame = True
while not done:
for event in pygame.event.get():
Traceback (most recent call last):
File "<pyshell#48>", line 2, in <module>
for event in pygame.event.get():
AttributeError: 'bool' object has no attribute 'event'
pygame == True and True has not attribute 'event'. Believe the error
messages until you have real reason to question them. They are perhaps
99.9% accurate by now/
--
Terry Jan Reedy
--
https://mail.python.org/mailman/listinfo/python-list