Turtle Graphics are incompatible with gmpy
Ethan Furman
ethan at stoneleaf.us
Wed Aug 5 16:08:00 EDT 2009
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~
More information about the Python-list
mailing list