Re: [Edu-sig] odd drawing problem with turtle.py

2010-02-01 Thread kirby urner
On Mon, Feb 1, 2010 at 3:27 AM, Brian Blais wro > > I don't see where you've defined a Turtle class to instantiate sir. > > > Turtle is given in turtle.py. I should have subclassed it, but I was being > lazy. :) > > thanks for the fast replies! > > > > bb > > > No obvious need to subclass.

Re: [Edu-sig] odd drawing problem with turtle.py

2010-02-01 Thread Vern Ceder
Brian Blais wrote: On Jan 31, 2010, at 23:05 , John Posner wrote: Try commenting out this statement: self.turtle.tracer(False) That helps on Python 2.6.4. interesting. It seems as if the tracer property is a global one: Actually, the tracer method that does the work is part of the T

Re: [Edu-sig] odd drawing problem with turtle.py

2010-02-01 Thread Brian Blais
On Jan 31, 2010, at 23:05 , John Posner wrote: Try commenting out this statement: self.turtle.tracer(False) That helps on Python 2.6.4. interesting. It seems as if the tracer property is a global one: In [1]:t1=Turtle() In [2]:t1.tracer() Out[2]:1 In [3]:t1.tracer(False) In [4]:t1.t

Re: [Edu-sig] odd drawing problem with turtle.py

2010-01-31 Thread kirby urner
On Sun, Jan 31, 2010 at 8:07 PM, Vern Ceder wrote: > kirby urner wrote: >> >> I don't see where you've defined a Turtle class to instantiate sir. > > The Turtle class is part of the turtle library, so that's not an issue. > Hey, good point Vern, not firing on all cylinders over here. So I just c

Re: [Edu-sig] odd drawing problem with turtle.py

2010-01-31 Thread kirby urner
I don't see where you've defined a Turtle class to instantiate sir. Perhaps rename Circle to Turtle and rewrite the circle-drawing expression as: > c=Turtle(randint(-350,350),randint(-250,250),10,"red") You are making progress with a wrapper class for the Standard Library turtle. That's a w