Turtle Graphics are incompatible with gmpy

Wolfram Hinderer wolfram.hinderer at googlemail.com
Wed Aug 5 22:00:07 CEST 2009


On 5 Aug., 21:31, Mensanator <mensana... at aol.com> wrote:
>
> >>> 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?

You seem to confuse the "tooter" Turtle object and the "turtle" module
when talking about "the tracer attribute".



More information about the Python-list mailing list