Mensanator wrote:

<snippers galore>


What does this mean?


import turtle
tooter = turtle.Turtle()
*tooter*.tracer

Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
    tooter.tracer
AttributeError: 'Turtle' object has no attribute 'tracer'

tooter.hideturtle()
tooter.speed('fast')
turtle.update()
*turtle*.tracer

<function tracer at 0x013E0ED0>

How did the tracer attribute appear out of thin air?

Perhaps I am missing something (wouldn't surprise me!) but it seems that the first time you are looking for a tracer on 'tooter', and the second time you are looking for a tracer on 'turtle'. After *turtle.tracer* succeeds, does *tooter.tracer*?

~Ethan~
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to